test: add test suite (#7)

* add pre-commit hook
* improve logging of inconsistent data
This commit is contained in:
Felix Spöttel
2022-07-04 13:54:07 +02:00
committed by GitHub
parent 1c5d0f649e
commit d252c6b8f3
17 changed files with 435 additions and 72 deletions

10
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,10 @@
repos:
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
# It is recommended to specify the latest version of Python
# supported by your project here, or alternatively use
# pre-commit's default_language_version, see
# https://pre-commit.com/#top_level-default_language_version
language_version: python3.9