Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
adding ruff config
Browse files Browse the repository at this point in the history
  • Loading branch information
srh-sloan committed Nov 20, 2024
1 parent b9e1b30 commit 66978fd
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,25 @@ dependencies = [
"uvicorn==0.30.3",
]

[tool.black]
line-length = 120

[tool.flake8]
max-line-length = 120
count = true
[tool.ruff.lint]
select = [
"E", # pycodestyle
"W", # pycodestyle
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C90", # mccabe cyclomatic complexity
"G", # flake8-logging-format
]
ignore = []
exclude = [
"db/migrations/versions/",
"venv*",
".venv*",
"__pycache__",
]
mccabe.max-complexity = 12

[tool.uv]

Expand Down

0 comments on commit 66978fd

Please sign in to comment.