forked from webpy/webpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
97 lines (88 loc) · 1.81 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
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=61.2",
]
[project]
name = "web-py"
description = "web.py: makes web apps"
readme = {file = "README.md", content-type = "text/plain"}
license = {text = "Public domain"}
maintainers = [{name = "Anand Chitipothu", email = "[email protected]"}]
authors = [{name = "Aaron Swartz", email = "[email protected]"}]
requires-python = ">=3.8,<3.13"
classifiers = [
"License :: Public Domain",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dynamic = [
"version",
]
dependencies = [
"cheroot",
]
[project.urls]
Homepage = "http://webpy.org/"
Source = "https://github.com/webpy/webpy"
[tool.setuptools]
packages = ["web", "web.contrib"]
platforms = ["any"]
include-package-data = false
[tool.setuptools.dynamic]
version = {attr = "web.__version__"}
[tool.black]
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| docs/conf.py
)
'''
[tool.ruff]
select = [
"C9",
"E",
"F",
"I",
"PLC",
"PLE",
"PLR",
"UP",
"W",
]
ignore = [
"E722",
"E731",
"F821",
"PLR5501",
"UP031",
]
line-length = 477
show-source = true
target-version = "py38"
[tool.ruff.mccabe]
max-complexity = 20
[tool.ruff.pylint]
allow-magic-value-types = ["int", "str"]
max-args = 9 # default is 5
max-branches = 17 # default is 12
max-returns = 8 # default is 6
[tool.codespell]
ignore-words-list = "asend,gae"
skip = ["./.*"]