Skip to content

Commit

Permalink
added tool options
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpeckham committed Feb 1, 2024
1 parent 61a81c8 commit 5e1eb9e
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -83,3 +83,36 @@ exclude_lines = [
# packages = [
# "src/vin",
# ]


[tool.black]
line-length = 100

[tool.ruff]
target-version = "py39"
line-length = 100
select = ["A", "B", "C", "C4", "E", "F", "I", "N", "PT", "Q", "RUF", "S", "SIM", "T10", "UP", "W", "YTT"]
fixable = ["RUF100", "I001"]
ignore = [
"S101", # Allow usage of asserts
"A001", # Allow shadowing bultins
"A003", # Allow shadowing bultins on classes
]

[tool.ruff.mccabe]
max-complexity = 15

[tool.ruff.isort]
force-single-line = true
lines-after-imports = 2
order-by-type = false

[tool.isort]
profile = "black"
force_alphabetical_sort_within_sections = true
force_single_line = true
lines_after_imports = 2
line_length = 100

[tool.doc8]
max-line-length = 100

0 comments on commit 5e1eb9e

Please sign in to comment.