-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
185 lines (169 loc) · 3.79 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
[project]
name = "quick_server"
description = "QuickServer is a quick to use and easy to set up server implementation."
readme = "README.rst"
version = "0.10.0"
authors = [
{name = "Josua Krause", email = "[email protected]"},
]
keywords = [
"server",
"REST",
"file",
"quick",
"easy",
]
license = {file = "LICENSE"}
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[project.urls]
repository = "https://github.com/JosuaKrause/quick_server"
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
include_package_data = true
package_dir = [
"=src",
]
packages = {find = ""}
install_requires = "pyreadline; platform_system==\"Windows\""
[tool.setuptools.packages.find]
where = ["src"]
[tool.isort]
extend_skip = [".json", ".md"]
profile = "black"
include_trailing_comma = true
line_length = 79
force_alphabetical_sort_within_sections = true
skip_glob = []
multi_line_output = 3
lines_after_imports = 2
[tool.darglint]
docstring_style = "google"
enable_disabled = "DAR104"
strictness = "short"
[tool.pylint.main]
load-plugins = [
"pylint.extensions.typing",
"pylint.extensions.docparams",
"pylint.extensions.docstyle",
]
[tool.pylint.basic]
good-names = [
"_",
"a",
"ax",
"b",
"c",
"ci",
"cm",
"db",
"df",
"e",
"el",
"f",
"fn",
"fn",
"fp",
"fs",
"ft",
"gc",
"io",
"ip",
"ix",
"jx",
"k",
"le",
"lr",
"m",
"ms",
"n",
"nl",
"op",
"p",
"pf",
"q",
"qa",
"r",
"s",
"t",
"th",
"tn",
"tp",
"tz",
"v",
"w",
"ws",
"x",
"x1",
"x2",
"y",
"y1",
"y2",
]
bad-names = [
"i",
"j",
]
[tool.pylint.messages_control]
disable = [
"bad-docstring-quotes",
"duplicate-code",
"docstring-first-line-empty",
"fixme",
"global-statement",
"too-many-arguments",
"too-many-branches",
"too-many-instance-attributes",
"too-many-lines",
"too-many-locals",
"too-many-public-methods",
"too-many-return-statements",
"too-many-statements",
"unnecessary-ellipsis",
]
const-rgx = '^[_A-Z]'
[tool.pylint.variables]
init-import = "yes"
[tool.pylint.imports]
allow-wildcard-with-all = "yes"
[tool.pylint.typecheck]
generated-members = []
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore::DeprecationWarning",
"ignore::RuntimeWarning",
"ignore::ImportWarning",
]
[tool.coverage.run]
branch = true
omit = [
"*/__init__*",
"*/sitecustomize*",
"*/test/*",
]
[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:",
"raise NotImplementedError()",
]
[tool.coverage.html]
directory = "coverage/html_report"
[tool.mypy]
ignore_missing_imports = false
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
plugins = []
warn_no_return = true
warn_unused_ignores = true
follow_imports = "normal"
exclude = ["build/"]