diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..78cdc68 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,10 @@ +repos: +- repo: https://github.com/ambv/black + rev: stable + hooks: + - id: black + language_version: python3.6 +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v1.2.3 + hooks: + - id: flake8 diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 0000000..4d2cf52 --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1,4 @@ +pytest +coverage +pre-commit +-e .