-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
75 lines (63 loc) · 1.37 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
[project]
name = "stencil-template"
description = "A template engine light enough to embed in your project."
readme = "README.rst"
license.text = "MIT"
authors = [
{ name = "Curtis Maloney", email = "curtis@tinbrain.net" }
]
keywords = [
"template",
]
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
]
dynamic = ["version"]
[project.urls]
Repository = "https://github.com/funkybob/stencil/"
Documentation = "https://stencil-templates.readthedocs.io/en/latest/"
[project.optional-dependencies]
test = [
"ruff",
"pytest",
"coverage",
]
[tool.setuptools.dynamic]
version.attr = "stencil.__version__"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 119
target-version = "py312"
[tool.ruff.lint]
select = [
'E',
'F',
'W',
'I', # isort
'N',
'UP',
'S', # bandit (security)
'A', # builtins
'C', # commas
'C4', # comprehensions
'DTZ', # datetimez
'DJ', # django
'ISC', # implicit string concat
'PIE',
'ARG', # unused arguments
'PL', # pylint
'FLY', # f-string usages
'PERF',
'RUF', # ruff specific
]
ignore = [
"ISC001", # conflicts with formatter
]
[tool.ruff.lint.per-file-ignores]
"**/tests/*" = [
'S101', # Ignore asserts in tests
]