generated from MetroStar/opensource-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
53 lines (47 loc) · 1.11 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[project]
name = "comet-api"
version = "1.0.0"
description = "Python Fast API for the Comet Starter App"
readme = "README.md"
license = {file = "LICENSE.md"}
dependencies = [
"alembic",
"fastapi",
"httpx",
"pydantic-settings",
"pysqlite3",
"python-dotenv",
"python-jose[cryptography]",
"requests",
"sqlalchemy",
"uvicorn[standard]",
]
[project.optional-dependencies]
dev = ["coverage", "pytest", "ruff"]
[tool.setuptools]
packages = ["app"]
[tool.ruff]
select = ["B", "C4", "EXE", "F", "E", "ISC", "ICN", "INP", "PIE", "SIM", "W", "T20", "UP", "T10", "G", "C90", "ERA"]
ignore = ["B008", "SIM102"]
fixable = ["F", "E", "B", "C4", "EXE", "ISC", "ICN", "INP", "PIE", "SIM", "W", "T20", "UP"]
unfixable = []
exclude = [
".git",
".mypy_cache",
".pre-commit-cache",
".ruff_cache",
".tox",
".venv",
"venv",
"docs",
"__pycache",
"**/migrations/*",
]
line-length = 88
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
target-version = "py311"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"