Skip to content

Commit

Permalink
allow asserting
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshalX committed Jan 25, 2025
1 parent 31aaf98 commit d7c9488
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -147,22 +147,23 @@ ignore = [
"D203", "D413", # we are not using too many blank lines
"D213", # we are using the first line for summary
"D406", "D407", # we are using google style docstring
"S101", # allow asserting; we are using it for type checks
]

[tool.ruff.lint.per-file-ignores]
"packages/*.py" = [
"D105", "D104", "D100", "D107", "D103", "D415", # missing docstring
"D101", "D102", # missing docstring in public class and method
]
"tests/*.py" = ["S101", "D"]
"tests/*.py" = ["D"]
"docs/*.py" = ["T201", "INP001", "ERA001", "E501", "D"]
"examples/*.py" = ["T201", "INP001", "ERA001", "D"]
"packages/atproto/exceptions.py" = ["F403"]
"packages/atproto_client/models/__init__.py" = ["F401", "F811"]
"packages/atproto_client/models/*/*.py" = ["E501", "D401"]
"packages/atproto_client/namespaces/async_ns.py" = ["E501", "D401"]
"packages/atproto_client/namespaces/sync_ns.py" = ["E501", "D401"]
"test.py" = ["S101", "ERA001", "T201", "E501", "F401", "D"]
"test.py" = ["ERA001", "T201", "E501", "F401", "D"]

[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
Expand Down

0 comments on commit d7c9488

Please sign in to comment.