Coordinate distributed systems.
Go to file
Hervé Beraud c3d8c2ed96 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: I7a2386a823fdd43b138956894bd915c0e11289a9
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
2020-10-09 15:35:34 +00:00
doc Adding pre-commit 2020-10-09 15:35:34 +00:00
examples Adding pre-commit 2020-10-09 15:35:34 +00:00
playbooks Unblock tooz gate 2019-05-10 20:02:04 +00:00
releasenotes Adding pre-commit 2020-10-09 15:35:34 +00:00
tools Implements Group API for the Consul driver 2020-06-15 11:24:49 -05:00
tooz Adding pre-commit 2020-10-09 15:35:34 +00:00
.coveragerc Fix coverage tests 2018-09-18 00:37:30 +00:00
.gitignore ignore reno generated artifacts 2020-03-25 13:17:59 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:27:52 +00:00
.pre-commit-config.yaml Adding pre-commit 2020-10-09 15:35:34 +00:00
.stestr.conf Migrate to stestr 2018-09-18 00:37:30 +00:00
.zuul.yaml Implements Group API for the Consul driver 2020-06-15 11:24:49 -05:00
CONTRIBUTING.rst Add CONTRIBUTING.rst 2016-11-18 16:44:36 +08:00
LICENSE First commit of Tooz 2013-12-19 12:18:35 +01:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-05-22 14:58:13 +08:00
bindep.txt Install only needed packages 2016-09-22 10:20:50 +02:00
requirements.txt Remove six library 2020-07-01 15:56:53 +02:00
run-examples.sh Have examples run in the py27 environment and make them work 2014-09-19 11:57:56 -07:00
run-tests.sh Simplify env list and test running 2017-06-09 18:09:31 +02:00
setup-consul-env.sh Implements Group API for the Consul driver 2020-06-15 11:24:49 -05:00
setup-etcd-env.sh Switch tests to use latest etcd - 3.1.3 2017-03-14 15:17:42 +00:00
setup.cfg Blacklist etcd3gw 0.2.6 2020-09-29 18:46:25 +02:00
setup.py Updated from global requirements 2015-09-17 12:17:45 +00:00
test-requirements.txt Adding pre-commit 2020-10-09 15:35:34 +00:00
tox.ini Adding pre-commit 2020-10-09 15:35:34 +00:00

README.rst

Tooz

Latest Version

Downloads

The Tooz project aims at centralizing the most common distributed primitives like group membership protocol, lock service and leader election by providing a coordination API helping developers to build distributed applications.

Join us