-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
112 lines (95 loc) · 1.68 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
102
103
104
105
106
107
108
109
110
111
112
[tool.poetry]
name = "fasttemplate"
version = "0.0.3"
description = "Python project builer"
authors = ["Ivan Koldakov <coldie322@gmail.com>"]
readme = "README.md"
homepage = "https://github.com/koldakov/fasttemplate"
repository = "https://github.com/koldakov/fasttemplate"
keywords = [
"packaging",
"poetry",
"skeleton",
"fastapi",
]
[tool.poetry.dependencies]
python = "^3.12"
cleo = "^2.1.0"
mako = "^1.3.3"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.7.0"
[tool.poetry.scripts]
fasttemplate = "fasttemplate.console.application:main"
[tool.poetry.group.test.dependencies]
pytest = "^8.1.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
exclude = [
".eggs",
".git",
".git-rewrite",
".mypy_cache",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".tox",
"build",
"dist",
".venv",
]
fix = true
show-fixes = true
output-format = "full"
line-length = 120
indent-width = 4
target-version = "py312"
[tool.ruff.lint]
select = [
"E",
"F",
"W",
"C90",
"I",
"N",
"UP",
"S",
"BLE",
"B",
"A",
"C4",
"DJ",
"PL",
"TCH",
"RUF",
"TID",
]
ignore = [
"N818",
]
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "double"
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.extend-per-file-ignores]
"test_*.py" = [
"S101",
]
[tool.mypy]
python_version = "3.12"
follow_imports = "skip"
ignore_missing_imports = true
check_untyped_defs = true
files = [
"src",
"tests",
]
[tool.pytest.ini_options]
testpaths = [
"tests",
]