Enable EM in flake8 and ruff
This commit is contained in:
parent
652713e702
commit
ae2dc8db64
1 changed files with 201 additions and 99 deletions
|
|
@ -102,6 +102,7 @@ dev = [
|
|||
"flake8-comprehensions (>=3.17.0,<4.0.0)",
|
||||
"flake8-debugger (>=4.1.2,<5.0.0)",
|
||||
"flake8-docstrings (>=1.7.0,<2.0.0)",
|
||||
"flake8-errmsg (>=0.7.0,<0.8.0)",
|
||||
"flake8-implicit-str-concat (>=0.7.0,<0.8.0)",
|
||||
"flake8-pyproject (>=1.2.4,<2.0.0)",
|
||||
"flake8-pytest-style (>=2.2.0,<3.0.0)",
|
||||
|
|
@ -227,6 +228,8 @@ select = [
|
|||
"T100",
|
||||
# flake8-docstrings => PEP257 compliance
|
||||
"D1", "D2", "D3", "D4",
|
||||
# flake8-errmsg => Shorter tracebacks
|
||||
"EM",
|
||||
# flake8-implicit-str-concat => Unified string concatenation
|
||||
"ISC",
|
||||
# flake8-pytest-style => enforce a consistent style with pytest
|
||||
|
|
@ -511,6 +514,8 @@ select = [
|
|||
"D",
|
||||
# pycodestyle => PEP8 compliance
|
||||
"E", "W",
|
||||
# flake8-errmsg => Shorter tracebacks
|
||||
"EM",
|
||||
# pyflakes => basic errors
|
||||
"F",
|
||||
# flake8-boolean-trap => Keyword-only flags
|
||||
|
|
|
|||
Loading…
Reference in a new issue