feat: refactor project
This commit is contained in:
@@ -10,3 +10,34 @@ dependencies = [
|
||||
"psycopg2-binary==2.9.9",
|
||||
"pydantic==2.9.2",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pytest>=8.0",
|
||||
"httpx>=0.27",
|
||||
"ruff>=0.8",
|
||||
"sqlfluff>=3.0",
|
||||
]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
pythonpath = ["."]
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py312"
|
||||
line-length = 100
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
"E", # pycodestyle errors
|
||||
"W", # pycodestyle warnings
|
||||
"F", # pyflakes
|
||||
"I", # isort
|
||||
"B", # flake8-bugbear
|
||||
"UP", # pyupgrade
|
||||
]
|
||||
ignore = [
|
||||
"B008", # Depends() in function defaults is idiomatic FastAPI
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user