/
pyproject.toml
100 lines (85 loc) · 2.45 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
[tool.poetry]
name = "valtypes"
version = "6.0.1"
description = "Parsing in Python has never been easier"
authors = ["LeeeeT <leeeet@inbox.ru>", "GitHub Copilot"]
license = "Unlicense"
readme = "README.md"
homepage = "https://github.com/LeeeeT/valtypes"
repository = "https://github.com/LeeeeT/valtypes"
documentation = "https://valtypes.readthedocs.io"
keywords = ["python", "parsing"]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: The Unlicense (Unlicense)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet",
"Typing :: Typed"
]
[tool.poetry.dependencies]
python = "^3.11"
[tool.poetry.group.dev.dependencies]
pre-commit = ">=2.20,<4.0"
[tool.poetry.group.mypy]
optional = true
[tool.poetry.group.mypy.dependencies]
mypy = ">=0.990,<1.9"
pytest = ">=7.2,<9.0"
[tool.poetry.group.pyright]
optional = true
[tool.poetry.group.pyright.dependencies]
pyright = "^1.1.279"
pytest = ">=7.2,<9.0"
[tool.poetry.group.pyright-verify]
optional = true
[tool.poetry.group.pyright-verify.dependencies]
pyright = "^1.1.279"
[tool.poetry.group.pytest]
optional = true
[tool.poetry.group.pytest.dependencies]
pytest = ">=7.2,<9.0"
pytest-cov = "^4.0.0"
[tool.isort]
profile = "black"
line_length = 151
[tool.black]
target-version = ["py311"]
line-length = 151
[tool.flake8]
max-line-length = 151
ignore = "E203, W503, F402"
[tool.mypy]
files = ["valtypes", "tests", "testing"]
strict = true
strict_equality = false
warn_return_any = false
warn_no_return = false
no_warn_unused_ignores = true
[tool.pyright]
include = ["valtypes", "tests", "testing"]
typeCheckingMode = "strict"
reportUnnecessaryTypeIgnoreComment = true
reportImportCycles = false
reportUnknownArgumentType = false
reportUnknownLambdaType = false
reportUnknownMemberType = false
reportUnknownParameterType = false
reportUnknownVariableType = false
reportUnnecessaryIsInstance = false
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=valtypes"
[tool.coverage.run]
branch = true
source = ["valtypes"]
[tool.coverage.report]
fail_under = 100
skip_covered = true
exclude_lines = ["^\\s*\\.\\.\\.$", "^\\s*if TYPE_CHECKING:$", "^\\s*pass$", "# pragma: no cover$"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"