Skip to content

Commit

Permalink
flake8 config
Browse files Browse the repository at this point in the history
  • Loading branch information
ZebraHr committed Aug 17, 2023
1 parent 05b4d2e commit 7fe303b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,3 @@ media/
# Others
node_modules

setup.cfg
16 changes: 16 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[flake8]
# Не проверять код на соответствие стандартам W503 и F811
ignore =
W503,
F811
# Не проверять код в перечисленных директориях:
exclude =
tests/,
*/migrations/,
venv/,
*/venv/,
env/
*/env/,
# Не проверять указанные файлы на соответствие определённым правилам:
per-file-ignores =
*/settings.py:E501

0 comments on commit 7fe303b

Please sign in to comment.