diff --git a/.gitignore b/.gitignore index 9df7663..15a1c1b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ *.pyc *.swp __pycache__/ -venv/ +env/ keys/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..b11695f --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,13 @@ +repos: +- repo: https://github.com/ambv/black + rev: stable + hooks: + - id: black + args: + - --line-length=140 +- repo: https://gitlab.com/pycqa/flake8 + rev: 3.7.9 + hooks: + - id: flake8 + args: + - "--max-line-length=140"