1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pyinventory_ynh.git synced 2024-09-03 20:16:09 +02:00

fix linting by addning flake8 config file

This commit is contained in:
JensDiemer 2020-12-30 09:58:41 +01:00
parent 4e8746cfaa
commit fc4b166980
2 changed files with 8 additions and 0 deletions

7
.flake8 Normal file
View file

@ -0,0 +1,7 @@
#
# Move to pyproject.toml after: https://gitlab.com/pycqa/flake8/-/issues/428
#
[flake8]
exclude = .pytest_cache, .tox, dist, htmlcov, local_test
ignore = F405
max-line-length = 119

1
.gitignore vendored
View file

@ -1,6 +1,7 @@
.* .*
!.github !.github
!.editorconfig !.editorconfig
!.flake8
!.gitignore !.gitignore
__pycache__ __pycache__
secret.txt secret.txt