-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathpyproject.toml
94 lines (84 loc) · 2.57 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
[build-system]
requires = ['hatchling']
build-backend = 'hatchling.build'
[tool.hatch.version]
path = 'dnserver/version.py'
[project]
name = 'dnserver'
description = 'Simple DNS server written in python for use in development and testing.'
authors = [{name = 'Samuel Colvin', email = '[email protected]'}]
license-files = { paths = ['LICENSE'] }
readme = 'README.md'
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: Unix',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Internet',
'Topic :: Internet :: Name Service (DNS)',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Systems Administration',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Testing :: Mocking',
]
requires-python = '>=3.7'
dependencies = [
'dnslib>=0.9.20',
'tomli;python_version<"3.11"',
'typing_extensions;python_version<"3.8"',
]
dynamic = ['version', 'license']
[project.scripts]
dnserver = 'dnserver.cli:cli'
[project.urls]
Homepage = 'https://github.com/samuelcolvin/dnserver'
Documentation = 'https://github.com/samuelcolvin/dnserver'
Source = 'https://github.com/samuelcolvin/dnserver'
Changelog = 'https://github.com/samuelcolvin/dnserver/releases'
[tool.pytest.ini_options]
testpaths = 'tests'
filterwarnings = ['error']
timeout = 10
[tool.coverage.run]
source = ['dnserver']
branch = true
omit = ['dnserver/__main__.py']
[tool.coverage.report]
precision = 2
exclude_lines = [
'pragma: no cover',
'raise NotImplementedError',
'raise NotImplemented',
'if TYPE_CHECKING:',
'@overload',
]
[tool.flake8]
max_line_length = 120
max_complexity = 14
inline_quotes = 'single'
multiline_quotes = 'double'
[tool.black]
color = true
line-length = 120
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
skip-string-normalization = true
[tool.isort]
line_length = 120
known_third_party = 'foxglove'
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
combine_as_imports = true
color_output = true