diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..309e53b --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,8 @@ +- repo: https://github.com/pre-commit/pre-commit-hooks + sha: e626cd57090d8df0be21e4df0f4e55cc3511d6ab + hooks: + - id: trailing-whitespace + - id: flake8 + args: + - --max-line-length=160 + - id: check-merge-conflict diff --git a/requirements.txt b/requirements.txt index 9c3df95..b077b06 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,8 @@ +bumpversion +pre-commit pytest -tox pytest-cov sphinx -bumpversion +tox -e .