-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (57 loc) · 1.42 KB
/
pyproject.toml
File metadata and controls
63 lines (57 loc) · 1.42 KB
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
[build-system]
requires = ["flit"]
build-backend = "flit.buildapi"
[tool.flit.metadata]
module = "binarypp"
author = "Joey Lent (Supercolbat)"
author-email = "supercolbat@gmail.com"
home-page = "https://github.com/Supercolbat/binarypp"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Environment :: Console",
"Typing :: Typed",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: System :: Software Distribution",
]
# Nothing, ever.
requires = []
[tool.flit.metadata.requires-extra]
test = [
"pytest==7.0.1",
"pytest-cov==3.0.0",
"mypy==0.931",
"flake8==4.0.1",
"autoflake==1.4",
"black==22.1.0",
"isort==5.10.1",
]
[tool.isort]
profile = "black"
[tool.mypy]
# --strict
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
# implicit_reexport = false
strict_equality = true
# --strict end
[[tool.mypy.overrides]]
module = "binarypp.tests.*"
check_untyped_defs = true
[tool.pytest.ini_options]
addopts = [
"--strict-config",
"--strict-markers",
]