-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
95 lines (91 loc) · 1.72 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "fastapi_sqlalchemy_toolkit"
version = "0.7.10"
authors = [
{ name="Egor Kondrashov", email="[email protected]" },
]
description = "FastAPI SQLAlchemy Toolkit"
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"fastapi>=0.100.0",
"sqlalchemy>=2.0.0",
"fastapi_pagination>=0.12.12",
"pydantic>=2.0.0",
]
[project.urls]
"Homepage" = "https://github.com/e-kondr01/fastapi-sqlalchemy-toolkit"
[tool.ruff.lint]
extend-select = [
# pycodestyle
"E",
"W",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# pylint
"PL",
# mccabe
"C901",
# flake8-return
"RET",
# pep8-naming
"N",
# flake8-annotations
"ANN",
# flake8-async
"ASYNC",
# flake8-bandit
"S",
# flake8-blind-except
"BLE",
# flake8-boolean-trap
"FBT",
# flake8-builtins
"A",
# flake8-comprehensions
"C4",
# flake8-logging-format
"G",
# flake8-pie
"PIE",
# flake8-print
"T20",
# flake8-pytest-style
"PT",
# flake8-self
"SLF",
# flake8-type-checking
"TCH",
# flake8-unused-arguments
"ARG",
# flake8-use-pathlib
"PTH",
# flake8-todos
"TD",
# flake8-fixme
"FIX",
# eradicate
"ERA",
# perflint
"PERF",
# Ruff-specific rules
"RUF",
]
ignore = ["ANN101", "ANN102", "ANN401", "PLR0913", "RUF001", "RUF002", "RUF003", "SLF001", "ERA001"]
[tool.ruff.lint.per-file-ignores]
"app/tests/*" = ["S101"]