Skip to content

Commit

Permalink
style: update ruff configs (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson authored Nov 20, 2024
1 parent 6decdc1 commit b99741a
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -174,17 +174,33 @@ ignore = [
# ANN102 - missing-type-cls
# F401 - unused-import
# N805 - invalid-first-argument-name-for-method
# S101 - assert
# D100 - undocumented-public-module
# D102 - undocumented-public-class
# D103 - undocumented-public-function
# S101 - assert
# B011 - assert-false
# I001 - unsorted-imports
# INP001 - implicit-namespace-package
# ARG001 - unused-function-argument
# SLF001 - private-member-acces
"tests/*" = ["ANN001", "ANN2", "ANN102", "S101", "INP001", "SLF001", "ARG001"]
"tests/*" = [
"ANN001",
"ANN2",
"ANN102",
"D100",
"D102",
"S101",
"B011",
"INP001",
"SLF001",
"ARG001",
]
"*__init__.py" = ["F401"]
"gene/schemas.py" = ["ANN001", "ANN201", "N805"]
"docs/source/conf.py" = ["D100", "I001", "D103", "ANN201", "ANN001"]

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

[tool.ruff.format]
docstring-code-format = true

0 comments on commit b99741a

Please sign in to comment.