Skip to content

Commit

Permalink
ruff: always require type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
WhyNotHugo committed Oct 11, 2023
1 parent b36e6f2 commit a875275
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,13 @@
# "D",
"RET",
"SIM",
"ANN",
]
ignore = [
"D1", # Missing docstrings
"ANN101", # Annotation for 'self'
]
line-length = 99

[tool.ruff.per-file-ignores]
"tests/**/*.py" = ["ANN"] # TODO: tests are missing type annotations

0 comments on commit a875275

Please sign in to comment.