-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
101 lines (95 loc) · 2.38 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[build-system]
requires = ["setuptools >= 74.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "OpenDriverStudio"
version = "0.1.0-dev"
description = "A simple API for managing computer drivers"
authors = [
{name="Rodrigo Luzuriaga", email="[email protected]"}
]
license = { file = "LICENSE" }
dependencies = [
"fastapi",
"pydantic",
"uvicorn",
]
requires-python = ">=3.12"
readme = "README.md"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Framework :: FastAPI",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: SQL",
"Typing :: Typed",
]
[project.optional-dependencies]
dev = [
"flake8",
"isort",
"mypy",
"pytest",
"ruff",
]
[project.urls]
homepage = "https://github.com/OpenDriverStudio/opendriverstudio"
repository = "https://github.com/OpenDriverStudio/opendriverstudio.git"
issues = "https://github.com/OpenDriverStudio/opendriverstudio/issues"
changelog = "https://github.com/OpenDriverStudio/opendriverstudio/blob/main/CHANGELOG.md"
[tool.ruff]
exclude = [
"__pycache__",
"__pypackages__",
"_build",
".eggs",
".git",
".mypy_cache",
".pytest_cache",
".ruff_cache",
".venv",
".vscode",
"build",
"dist",
"site-packages",
"venv",
]
indent-width = 4
line-length = 120
show-fixes = true
[tool.ruff.lint]
extend-select = [
"B", # flake8-bugbear
"BLE", # flake8-blind-except
"C4", # flake8-comprehensions
"COM", # flake8-commas
"E", # pylint error
"FAST", # FastAPI
"FBT", # flake8-boolean-trap
"FLY", # flynt
"G", # flake8-logging-format
"I", # isort
"INP", # flake8-no-pep420
"ISC", # flake8-implicit-str-concat
"LOG", # flake8-logging
"N", # pep8-naming
"PERF", # perflintc
"PIE", # flake8-pie
"PT", # flake8-use-pathlib
"PYI", # flake8-pyi
"Q", # flake8-quotes
"RET", # flake8-return
"RSE", # flake8-raise
"RUF", # Ruff-specific rules
"S", # flake8-bandit
"SIM", # flake8-simplify
"SLF", # flake8-self
"TCH", # flake8-type-checking
# "T20", # flake8-printc
]
ignore = ["S101"]
[tool.ruff.lint.isort]
lines-after-imports = 2