Skip to content

Commit

Permalink
chore(pyproject): #81 ignore D100 for tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
cmp0xff committed Aug 31, 2024
1 parent 972e308 commit 1e4e8f4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,15 @@ line-length = 88 # black default
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"D107", # undocumented-public-init (D107): we document the class instead
"D107", # undocumented-public-init: we document the class instead
"FA", "PLR", "S", "PD", "SLF", "PT", "FBT", "C", "ANN", "EM", "TRY", "ARG", "FIX", "TD", "TID", "ERA", "INP", "E", "SIM", "RUF", "RET"
]
]


[tool.ruff.lint.per-file-ignores]
"docs/**/*.py" = [
"D100", # undocumented-public-module: we keep tutorials clean and do not include doc strings
]


[tool.ruff.lint.isort]
Expand Down

0 comments on commit 1e4e8f4

Please sign in to comment.