Update gitignore

This commit is contained in:
Mark Veidemanis 2021-12-23 00:30:55 +00:00
parent 25ace1d8b2
commit a6e0ead37f
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 14 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,5 +1,5 @@
*.pyc
*.swp
__pycache__/
venv/
env/
keys/

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

@ -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"