-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
48 lines (45 loc) · 1.66 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
[project]
name = "sample"
version = "0.0.1"
maintainers = [
{name = "John Doe", email = "[email protected]"}
]
keywords = ["sample"]
description = "Sample project for Python"
readme = "README.md"
requires-python = ">=3.13.0"
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"fastapi>=0.115.2",
"sqlmodel>=0.0.22",
"uvicorn>=0.32.0",
]
# Ruff linter configuration
# https://docs.astral.sh/ruff/linter/
[tool.ruff.lint]
# https://docs.astral.sh/ruff/settings/#lint_select
select = [
"F", # pyflakes: https://docs.astral.sh/ruff/rules/#pyflakes-f
"E", "W", # pycodestyle: https://docs.astral.sh/ruff/rules/#pycodestyle-e-w
"N", # pep8-naming: https://docs.astral.sh/ruff/rules/#pep8-naming-n
"UP", # pyupgrade: https://docs.astral.sh/ruff/rules/#pyupgrade-up
"B", # flake8-bugbear: https://docs.astral.sh/ruff/rules/#flake8-bugbear-b
"A", # flake8-builtins: https://docs.astral.sh/ruff/rules/#flake8-builtins-a
"DTZ", # flake8-datetimez: https://docs.astral.sh/ruff/rules/#flake8-datetimez-dtz
"T10", # flake8-debugger: https://docs.astral.sh/ruff/rules/#flake8-debugger-t10
"ISC", # flake8-implicit-str-concat: https://docs.astral.sh/ruff/rules/#flake8-implicit-str-concat-isc
"INP", # flake8-no-pep420: https://docs.astral.sh/ruff/rules/#flake8-no-pep420-inp
"T20", # flake8-print: https://docs.astral.sh/ruff/rules/#flake8-print-t20
"FLY", # flynt: https://docs.astral.sh/ruff/rules/#flynt-fly
]
[tool.uv]
dev-dependencies = [
"black==23.3.0",
"isort==5.12.0",
"mypy==1.2.0",
"pylint==2.17.3",
"ruff==0.7.0",
]