Skip to content

Commit

Permalink
feat(python): ignore doc requirements in tests (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson authored Oct 24, 2024
1 parent ef54d22 commit ecc526a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion python/{{cookiecutter.project_slug}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,21 @@ ignore = [
# ANN001 - missing-type-function-argument
# ANN2 - missing-return-type
# ANN102 - missing-type-cls
# D100 - undocumented-public-module
# D102 - undocumented-public-class
# S101 - assert
# B011 - assert-false
# INP001 - implicit-namespace-package
"tests/*" = ["ANN001", "ANN2", "ANN102", "S101", "B011", "INP001"]
"tests/*" = [
"ANN001",
"ANN2",
"ANN102",
"D100",
"D102",
"S101",
"B011",
"INP001"
]

[tool.ruff.lint.flake8-annotations]
mypy-init-return = true
Expand Down

0 comments on commit ecc526a

Please sign in to comment.