Go to file
Hervé Beraud d7f6ddc55c 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: Ic88cf026a74e9da4acaf9e00c50fddd2c8a48fbe
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
2020-09-08 14:17:12 +02:00
2020-09-08 14:17:12 +02:00
2020-09-08 14:17:12 +02:00
2015-10-23 18:51:29 +11:00
2019-04-19 19:48:27 +00:00
2015-10-23 18:51:29 +11:00
2020-09-08 14:17:12 +02:00
2019-12-11 10:26:01 +00:00
2020-04-14 10:16:27 +00:00
2015-10-23 18:51:29 +11:00
2020-02-11 18:51:53 +01:00
2020-09-08 14:17:12 +02:00
2020-09-08 14:17:12 +02:00

Team and repository tags

image

oslo.privsep

Latest Version

OpenStack library for privilege separation

This library helps applications perform actions which require more or less privileges than they were started with in a safe, easy to code and easy to use manner. For more information on why this is generally a good idea please read over the principle of least privilege and the specification which created this library.

Description
OpenStack library for privilege separation
Readme 2.9 MiB
Languages
Python 100%