-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
63 lines (54 loc) · 1.23 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
[project]
name = "nancy"
version = "8.0.3"
description = "Simple templating system"
license = {text = "GPL v3 or later"}
authors = [
{name = "Reuben Thomas", email = "[email protected]"}
]
readme = "README.md"
urls = {Homepage = "https://github.com/rrthomas/nancy"}
requires-python = ">= 3.9"
classifiers = [
"Environment :: Console",
"Programming Language :: Python :: 3",
]
[project.scripts]
nancy = "nancy:main"
[project.optional-dependencies]
test = ["pytest"]
[build-system]
requires = [
"setuptools >= 60",
]
[tool.setuptools]
packages = ["nancy"]
[tool.mypy]
exclude = ['^dist', '^build']
strict = true
[tool.pylint.main]
# Use multiple processes to speed up Pylint: 0 = auto-detect.
jobs = 0
[tool.pylint.MASTER]
init-hook = 'import sys; sys.path.append(".")'
[tool.pylint.format]
const-naming-style = "any"
disable = [
"missing-module-docstring",
"missing-class-docstring",
"missing-function-docstring",
"no-member",
"fixme",
"global-statement",
"redefined-outer-name",
"too-many-locals",
"too-many-branches",
"too-many-function-args",
"too-many-positional-arguments",
"too-many-statements",
]
enable = [
"useless-suppression",
]
[tool.pytest.ini_options]
addopts = "-p no:warnings"