oslo.messaging/oslo_messaging/tests
Hervé Beraud a997f09e5b 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: Ibd0c3d64fdc5c293d9d676d33eab828d9fde971f
Co-authored-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
2020-09-22 12:35:37 +02:00
..
drivers Adding pre-commit 2020-09-22 12:35:37 +02:00
functional Adding pre-commit 2020-09-22 12:35:37 +02:00
notify Adding pre-commit 2020-09-22 12:35:37 +02:00
rpc Adding pre-commit 2020-09-22 12:35:37 +02:00
__init__.py Remove six usage 2020-05-11 10:21:58 +02:00
test_config_opts_proxy.py Remove deprecated rabbit options 2018-09-10 15:11:19 -06:00
test_exception_serialization.py Remove six usage 2020-05-11 10:21:58 +02:00
test_expected_exceptions.py Update hacking for Python3 2020-03-30 13:49:29 +00:00
test_fixture.py Remove rpc_backend and ConfFixture.transport_driver 2018-09-13 15:01:27 -06:00
test_opts.py Remove six usage 2020-05-11 10:21:58 +02:00
test_target.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
test_transport.py Adding pre-commit 2020-09-22 12:35:37 +02:00
test_urls.py Remove rpc_backend and ConfFixture.transport_driver 2018-09-13 15:01:27 -06:00
test_utils.py Remove six usage 2020-05-11 10:21:58 +02:00
utils.py Do not use threading.Event 2019-12-18 13:11:41 +00:00