-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
76 lines (67 loc) · 1.85 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
[tool.poetry]
name = "dataclass_io"
version = "0.2.0"
description = "Dataclass IO"
readme = "README.md"
authors = [
"Matt Stone <[email protected]>",
]
homepage = "https://github.com/msto/dataclass_io"
repository = "https://github.com/msto/dataclass_io"
documentation = "https://github.com/msto/dataclass_io"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[tool.poetry.dependencies]
python = "^3.10"
pydantic = "^2.9.2"
[tool.poetry.group.dev.dependencies]
mypy = "^1.5.1"
pytest = "^7.4.4"
pytest-cov = "^4.1.0"
pytest-mypy = "^0.10.3"
pytest-ruff = "^0.3.1"
pytest-mock = "^3.12.0"
ruff = "0.3.3"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/msto/dataclass_io/issues"
[build-system]
requires = ["poetry-core>=1.6"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
python_version = "3.10"
strict_optional = false
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.pytest.ini_options]
minversion = "7.4"
addopts = [
"--color=yes",
"--import-mode=importlib",
"--cov",
"--mypy",
"--ruff"
]
[tool.ruff]
line-length = 100
target-version = "py310"
output-format = "full"
[tool.ruff.lint]
select = ["C901", "B", "E", "F", "I", "W", "Q"]
ignore = ["E203", "E701"]
unfixable = ["B"]
[tool.ruff.lint.isort]
force-single-line = true