-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
74 lines (64 loc) · 1.77 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
[tool.coverage.run]
branch = true
source = ['structured']
omit = ['structured/type_checking.py']
[tool.coverage.report]
show_missing = true
skip_covered = true
exclude_lines = [
'pragma: no cover',
'raise NotImplementedError',
'if (typing.)?TYPE_CHECKING:',
'if __name__ == .__main__.:',
'\.\.\.',
]
[tool.pytest.ini_options]
testpaths = ['tests']
addopts = "--cov --cov-report term --cov-report=html --cov-report=xml"
[build-system]
requires = ['setuptools>=61.0']
build-backend = 'setuptools.build_meta'
[tool.setuptools]
package-dir = {"structured" = "structured"}
[tool.setuptools.dynamic]
version = {attr = 'structured.__version__'}
[project]
name = 'structured_classes'
dynamic = ['version']
authors = [
{ name = 'lojack5' },
]
description = 'Annotated classes that pack and unpack C structures.'
readme = 'README.md'
license = { text = 'BSD 3-Clause' }
requires-python = '>=3.9'
dependencies = [
'typing_extensions~=4.4.0; python_version < "3.11"',
]
classifiers = [
'Intended Audience :: Developers',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Typing :: Typed',
]
[project.urls]
'Homepage' = 'https://github.com/lojack5/structured'
'Bug Tracker' = 'https://github.com/lojack5/structured/issues'
[tool.black]
skip-string-normalization = true
[tool.flake8]
max-line-length = 88
extend-ignore = ['E203']
per-file-ignores = [
# F401: Imported but unused
# F403: Star import used
'type_checking.py: F401',
'__init__.py: F403, F401',
]
[tool.isort]
profile = 'black'