-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
48 lines (42 loc) · 1.14 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
[build-system]
requires = ['flit_core >=3.2,<4']
build-backend = 'flit_core.buildapi'
[project]
name = 'aiterx'
authors = [{name = 'Gary van der Merwe', email = '[email protected]'}]
license = {file = 'LICENSE'}
classifiers = ['License :: OSI Approved :: MIT License']
dynamic = ['version', 'description']
[project.optional-dependencies]
test = [
'asyncstdlib',
'pytest',
'pytest-asyncio',
'flake8',
'flake8-bugbear',
'coverage',
'pytest-cov',
'mypy; implementation_name=="cpython"',
]
# doc = ['sphinx', 'sphinxcontrib-trio']
[tool.mypy]
files = ['aiterx/*.py']
check_untyped_defs = true
# no_implicit_optional = true
# warn_redundant_casts = true
# warn_unused_ignores = true
# warn_unreachable = true
# disallow_any_generics = true
# disallow_subclassing_any = true
# disallow_untyped_calls = true
# disallow_untyped_defs = true
# disallow_incomplete_defs = true
# disallow_untyped_decorators = true
# warn_return_any = true
# no_implicit_reexport = true
# strict_equality = true
[tool.pytest.ini_options]
asyncio_mode = 'auto'
addopts = '--cov-report xml:cov.xml --cov aiterx --cov-branch'
[tool.black]
line-length = 100