Skip to content

Commit

Permalink
style: update ruff configs (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson authored Nov 13, 2024
1 parent 6524b42 commit c1e4b05
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -171,16 +171,32 @@ ignore = [
# N805 - invalid-first-argument-name-for-method
# S101 - assert
# D100 - undocumented-public-module
# D102 - undocumented-public-class
# D103 - undocumented-public-function
# I001 - unsorted-imports
# B011 - assert-false
# 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"]
"tests/unit/test_emit_warnings.py" = ["RUF001"]
"src/disease/schemas.py" = ["ANN201", "N805", "ANN001"]
"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 c1e4b05

Please sign in to comment.