Skip to content

Commit

Permalink
lint: justify ruff A002 lint
Browse files Browse the repository at this point in the history
  • Loading branch information
unexcellent committed Oct 29, 2024
1 parent 010d572 commit b7517ef
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,14 @@ line-length = 101
exclude = ["tests/*", "docs/*"]
select = ["ALL"]
ignore = [
"A002", # objects from OpenLABEL conflict with a Python builtin, but staying consistent with the domain is more important

"COM812", # conflicts with ruff formatter

"D100", # imo no docstrings are necessary in public modules
"D107", # __init__ docstrings are not necessary
"D203", # incompatible with D211
"D213", # incompatible with D212
"D100", # imo no docstrings are necessary in public modules
"D107", # __init__ docstrings are not necessary
"D203", # incompatible with D211
"D213", # incompatible with D212

"FBT001", # flags in functions are not bad practice
"FBT002", # flags in functions are not bad practice
Expand Down Expand Up @@ -91,7 +93,6 @@ ignore = [
"ANN206",
"TRY003",
"D417",
"A002",
]

[tool.mypy]
Expand Down

0 comments on commit b7517ef

Please sign in to comment.