diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..fadc057f --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,14 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.4.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-added-large-files +- repo: https://github.com/psf/black + rev: 19.3b0 + hooks: + - id: black diff --git a/requirements.txt b/requirements.txt index 0c5a2394..f36751af 100644 --- a/requirements.txt +++ b/requirements.txt @@ -31,3 +31,4 @@ z3-solver>=4.8.5.0 pysha3 matplotlib pythx +pre-commit