Generic Key Manager interface for OpenStack
Go to file
Hervé Beraud b719a5b56d 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: I35e092c472e5d564ebc9bb6c2a4f6d40b54ff120
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
2020-09-29 13:24:21 +00:00
castellan Add to_dict and from_dict conversions to managed objects 2020-07-13 13:44:22 +02:00
doc Adding pre-commit 2020-09-29 13:24:21 +00:00
etc/castellan refactoring castellan configuration 2015-08-12 12:03:36 -04:00
playbooks/devstack Use Zuul v3 fetch-subunit-output 2018-01-16 07:20:24 +00:00
releasenotes Add to_dict and from_dict conversions to managed objects 2020-07-13 13:44:22 +02:00
tools Bump vault version 2020-06-26 13:51:12 +02:00
.coveragerc remove obsolete oslo incubator code 2016-11-01 14:16:50 +00:00
.gitignore Add Castellan Oslo Config Driver. 2019-01-09 23:17:17 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:32:42 +00:00
.mailmap Initial Cookiecutter Commit. 2014-11-20 15:39:45 -06:00
.pre-commit-config.yaml Adding pre-commit 2020-09-29 13:24:21 +00:00
.stestr.conf Switch to stestr 2018-07-11 08:56:06 +07:00
.zuul.yaml Some Cleanups 2020-06-11 12:26:35 +02:00
CONTRIBUTING.rst Optimize the link address 2017-06-12 07:57:59 +00:00
HACKING.rst Update the doc URL in the documents 2017-07-11 13:38:04 +00:00
LICENSE Initial Cookiecutter Commit. 2014-11-20 15:39:45 -06:00
README.rst Add Wiki links to readme 2019-12-18 15:05:16 +00:00
bindep.txt Add bindep.txt 2019-08-13 16:57:44 +00:00
lower-constraints.txt Merge "drop mock from lower-constraints" 2020-06-16 14:03:44 +00:00
requirements.txt Some Cleanups 2020-06-11 12:26:35 +02:00
setup.cfg Remove translation sections from setup.cfg 2020-05-14 18:41:37 +08:00
setup.py Some Cleanups 2020-06-11 12:26:35 +02:00
test-requirements.txt Adding pre-commit 2020-09-29 13:24:21 +00:00
tox.ini Adding pre-commit 2020-09-29 13:24:21 +00:00

README.rst

Castellan

Generic Key Manager interface for OpenStack.

Team and repository tags

image