Skip to content

Commit

Permalink
cicd: update ruff rules (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson authored Feb 2, 2024
1 parent eb13cda commit 59cbb15
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions python/{{cookiecutter.project_slug}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,20 @@ fixable = [
# E117 - over-indented*
# E501 - line-too-long*
# W191 - tab-indentation*
# S321 - suspicious-ftp-lib-usage
# *ignored for compatibility with formatter
ignore = [
"ANN101", "ANN003",
"D203", "D205", "D206", "D213", "D300", "D400", "D415",
"E111", "E114", "E117", "E501",
"W191"
"W191",
"S321",
]

[tool.ruff.per-file-ignores]
# ANN001 - missing-type-function-argument
# ANN102 - missing-type-cls
# ANN2 - missing-return-type
"tests/*" = ["ANN001", "ANN102", "ANN2"]
# S101 - assert
# B011 - assert-false
"tests/*" = ["ANN001", "ANN102", "ANN2", "S101", "B011"]

0 comments on commit 59cbb15

Please sign in to comment.