Library for running OpenStack services
Go to file
Hervé Beraud 10ce88ed2b Adding pre-commit
Introduced changes:
- pre-commit config and rules
- Add pre-commit to pep8 gate, Flake8 is covered in the pre-commit hooks.
- Applying fixes for pre-commit compliance in all code.

Also commit hash will be used instead of version tags in pre-commit to
prevend arbitrary code from running in developer's machines.

pre-commit will be used to:
- trailing whitespace;
- Replaces or checks mixed line ending (mixed-line-ending);
- Forbid files which have a UTF-8 byte-order marker
  (check-byte-order-marker);
- Checks that non-binary executables have a proper
  shebang (check-executables-have-shebangs);
- Check for files that contain merge conflict strings
  (check-merge-conflict);
- Check for debugger imports and py37+ breakpoint()
  calls in python source (debug-statements);
- Attempts to load all yaml files to verify syntax (check-yaml);
- Run flake8 checks (flake8) (local)

For further details about tests please refer to:
https://github.com/pre-commit/pre-commit-hooks

Change-Id: Ib18f38dbec90c62e870307bf22a8b4f193237bce
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
2020-09-08 14:26:37 +02:00
doc Adding pre-commit 2020-09-08 14:26:37 +02:00
oslo_service Adding pre-commit 2020-09-08 14:26:37 +02:00
releasenotes Adding pre-commit 2020-09-08 14:26:37 +02:00
.coveragerc Update .coveragerc after the removal of respective directory 2016-10-18 17:45:44 +05:30
.gitignore Move doc related modules to doc/requirements.txt 2019-08-24 09:49:33 +08:00
.gitreview OpenDev Migration Patch 2019-04-19 19:36:22 +00:00
.mailmap exported from oslo-incubator by graduate.sh 2015-05-21 16:51:40 +03:00
.pre-commit-config.yaml Adding pre-commit 2020-09-08 14:26:37 +02:00
.stestr.conf Convert oslo.service to using stestr 2018-07-04 08:39:21 +07:00
.zuul.yaml Add Python3 victoria unit tests 2020-04-14 10:17:38 +00:00
CONTRIBUTING.rst Align contributing doc with oslo's policy 2020-05-05 14:31:05 +02:00
HACKING.rst Update hacking version 2019-02-13 17:08:38 +08:00
LICENSE exported from oslo-incubator by graduate.sh 2015-05-21 16:51:40 +03:00
lower-constraints.txt [goal] Migrate testing to ubuntu focal 2020-08-04 01:24:08 +00:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-30 13:48:51 +08:00
requirements.txt [goal] Migrate testing to ubuntu focal 2020-08-04 01:24:08 +00:00
setup.cfg Remove translation sections from setup.cfg 2020-05-15 11:16:23 +08:00
setup.py remove outdated header 2020-02-10 18:33:49 +01:00
test-requirements.txt Adding pre-commit 2020-09-08 14:26:37 +02:00
tox.ini Adding pre-commit 2020-09-08 14:26:37 +02:00

Team and repository tags

image

oslo.service -- Library for running OpenStack services

Latest Version

Downloads

oslo.service provides a framework for defining new long-running services using the patterns established by other OpenStack applications. It also includes utilities long-running applications might need for working with SSL or WSGI, performing periodic operations, interacting with systemd, etc.