forked from darrenburns/ward
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
104 lines (94 loc) · 2.94 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
95
96
97
98
99
100
101
102
103
104
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ward]
path = ["tests"]
exclude = ["tests/resources/"]
[tool.poetry]
name = "ward"
version = "0.63.0b0"
description = "A modern Python testing framework"
exclude = ["tests"]
authors = ["Darren Burns <darrenb900@gmail.com>"]
maintainers = ["Darren Burns <darrenb900@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://wardpy.com"
repository = "https://github.com/darrenburns/ward"
documentation = "https://wardpy.com"
keywords = ["test", "testing", "quality-assurance", "cli", "python3"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
]
include = ["ward/py.typed"]
[tool.poetry.dependencies]
python = "^3.6.1"
dataclasses = { version = "^0.7", python = "3.6" }
click = ">=7,<9"
rich = "^10.0.0"
tomli = "^1.0.0"
pprintpp = "^0.4.0"
cucumber-tag-expressions = "^2.0.0"
click-default-group = "^1.2.2"
click-completion = "^0.5.2"
pluggy = "^0.13.1"
[tool.poetry.dev-dependencies]
Sphinx = "^3.5.1"
sphinx-rtd-theme = "^0.5.1"
coverage = {version = "^5.1", extras = ["toml"]}
pre-commit = "^2.13.0"
[tool.poetry.scripts]
ward = "ward._run:run"
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"pragma: unreachable",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"if typing.TYPE_CHECKING:",
]
[tool.coverage.run]
branch = true
include = [
"ward/*",
]
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
line_length = 88
[tool.mypy]
show_error_codes = true
warn_unreachable = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
# Disabling incremental mode is required for `warn_unused_configs = true` to work
incremental = false
strict_equality = true
implicit_reexport = false
no_implicit_optional = true
overrides = [
# These third-party dependencies don't distribute type annotations
{ module = "pprintpp.*", ignore_missing_imports = true },
{ module = "pluggy.*", ignore_missing_imports = true },
{ module = "cucumber_tag_expressions.*", ignore_missing_imports = true },
{ module = "click_completion.*", ignore_missing_imports = true },
{ module = "click_default_group.*", ignore_missing_imports = true },
# TODO: Remove these lines and fix type-checker errors to gradually introduce mypy
{ module = "ward._rewrite.*", ignore_errors = true },
{ module = "ward._collect.*", ignore_errors = true },
{ module = "ward._run.*", ignore_errors = true },
{ module = "tests.*", ignore_errors = true },
{ module = "conf.*", ignore_errors = true }, # matches docs/source/conf.py
]