1
0
mirror of https://github.com/Rikj000/MoniGoMani.git synced 2022-03-06 00:08:05 +03:00

Pylint and tox.ini same ignore-lines for code guidelines

This commit is contained in:
topscoder
2021-08-16 16:01:43 +02:00
parent 299d7e0fb8
commit 43046cc2f4
2 changed files with 3 additions and 2 deletions

View File

@@ -60,8 +60,8 @@ confidence=
# --enable=similarities". If you want to run only the classes checker, but have # --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes # no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W" # --disable=W"
disable=C,R,W0613,W0511,W0212,W0201,W0311,W0106,W0603,W0621,W0703,W1201,W1203,E1136
disable=C,E226,E302,E41,E402,E1136,R,S101,W0613,W0511,W0212,W0201,W0311,W0106,W0603,W0621,W0703,W1201,W1203,W1202,WPS102
# Enable the message, report, category or checker with the given id(s). You can # Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option # either give multiple identifier separated by comma (,) or put this option

View File

@@ -1,5 +1,6 @@
[flake8] [flake8]
ignore = C819,E226,E302,E41,E402,S101,WPS102 # These ignore line is copied from .pylintrc:64 - disable=
ignore = C,E226,E302,E41,E402,E1136,R,S101,W0613,W0511,W0212,W0201,W0311,W0106,W0603,W0621,W0703,W1201,W1203,W1202,WPS102
max-line-length = 200 max-line-length = 200
exclude = tests/* exclude = tests/*
max-complexity = 12 max-complexity = 12