-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
50 lines (45 loc) · 1.17 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
[tool.poetry]
name = "expecttest"
version = "0.3.0"
description = ""
readme = "README.md"
repository = "https://github.com/ezyang/expecttest"
authors = ["Edward Z. Yang <[email protected]>"]
include = ["expecttest/py.typed"]
license = "MIT"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[tool.poetry.dependencies]
python = "^3.8.1"
[tool.poetry.dev-dependencies]
flake8 = "^7"
hypothesis = "^6"
mypy = "^0.910"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
python_version = "3.8"
strict_optional = true
show_column_numbers = true
show_error_codes = true
warn_no_return = true
disallow_any_unimported = true
# --strict
warn_unused_configs = true
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 = false # purposely disabled
warn_return_any = true
no_implicit_reexport = true
strict_equality = true