-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
66 lines (56 loc) · 1.41 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
[tool.poetry]
name = "tagic"
version = "1.3.0"
description = "Build html / xhtml with a nice syntax."
authors = ["Tammo Ippen <tammo.ippen@posteo.de>"]
readme = "README.md"
homepage = "https://github.com/tammoippen/tagic"
license = "MIT"
[tool.poetry.dependencies]
python = "^3.11"
[tool.poetry.group.dev.dependencies]
ruff = "^0"
mypy = "^1.4.1"
pytest = "^8"
pytest-randomly = "^3.13.0"
pytest-cov = "^6"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff.lint]
select = ["B", "BLE", "C", "E", "F", "PL", "Q", "RUF", "T", "W", "I"]
[tool.ruff.lint.per-file-ignores]
"**/tests/*" = ["B011"]
[tool.ruff.lint.isort]
known-first-party = ["tagic"]
[tool.mypy]
files = "src/"
mypy_path = "src/"
namespace_packages = true
explicit_package_bases = true
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 = false
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
no_implicit_reexport = true
strict_equality = true
allow_redefinition = true
local_partial_types = true
warn_unreachable = true
disallow_any_unimported = true
[tool.pytest.ini_options]
addopts = """\
--cov=src \
--cov-report term-missing \
--cov-branch \
-vvv \
-s \
"""