OpenStack library for serialization
Go to file
Hervé Beraud b828910188 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: I8c993d6ffaf869f67713bbbde8632a0143ed0c72
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
2020-09-08 12:33:14 +02:00
doc Adding pre-commit 2020-09-08 12:33:14 +02:00
oslo_serialization Merge "Remove the yamlutils module." 2020-06-08 12:42:49 +00:00
releasenotes Adding pre-commit 2020-09-08 12:33:14 +02:00
.coveragerc Fix coverage configuration and execution 2015-10-08 17:22:20 -04:00
.gitignore Clean up .gitignore references to personal tools 2018-10-15 11:52:29 +08:00
.gitreview OpenDev Migration Patch 2019-04-19 19:32:20 +00:00
.mailmap exported from oslo-incubator by graduate.sh 2014-07-14 17:54:12 +00:00
.pre-commit-config.yaml Adding pre-commit 2020-09-08 12:33:14 +02:00
.stestr.conf Switch to stestr 2018-07-04 08:23:05 +07:00
.zuul.yaml Add Python3 victoria unit tests 2020-04-14 10:17:20 +00:00
CONTRIBUTING.rst Align contributing doc with oslo's policy 2020-05-04 18:30:27 +02:00
HACKING.rst Update hacking version 2019-02-17 10:28:24 +08:00
LICENSE exported from oslo-incubator by graduate.sh 2014-07-14 17:54:12 +00:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-05-03 20:33:13 +00:00
lower-constraints.txt Remove the yamlutils module. 2020-06-08 11:44:27 +02:00
requirements.txt Remove the yamlutils module. 2020-06-08 11:44:27 +02:00
setup.cfg Remove translation sections from setup.cfg 2020-05-15 11:28:52 +08:00
setup.py remove outdated header 2020-02-10 18:31:55 +01:00
test-requirements.txt Adding pre-commit 2020-09-08 12:33:14 +02:00
tox.ini Adding pre-commit 2020-09-08 12:33:14 +02:00

README.rst

Team and repository tags

image

oslo.serialization

Latest Version

Downloads

The oslo.serialization library provides support for representing objects in transmittable and storable formats, such as Base64, JSON and MessagePack.