-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
46 lines (40 loc) · 1.08 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
[tool.poetry]
name = "neat-html"
version = "0.6.0"
description = "A python library for writing and composing HTML."
authors = ["Sam Dudley <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/SamDudley/neat-html"
keywords = ["html"]
classifiers = ["Topic :: Text Processing :: Markup :: HTML"]
packages = [{ include = "neat_html" }]
[tool.poetry.dependencies]
python = "^3.10"
[tool.poetry.group.dev.dependencies]
black = "^24.4.2"
mypy = "^1.10.1"
ruff = "^0.5.1"
pytest = "^8.2.2"
pytest-cov = "^5.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff.lint]
extend-select = ["I", "U", "B", "Q"]
[tool.mypy]
strict = true
[tool.coverage.report]
# https://coverage.readthedocs.io/en/latest/excluding.html#advanced-exclusion
exclude_also = [
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]