-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
57 lines (51 loc) · 1.53 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
[tool.poetry]
name = "pyretries"
version = "0.2.10"
description = "A Python retry package based on strategies"
authors = ["Ben Mezger <[email protected]>"]
readme = "README.md"
packages = [{include = "pyretries"}]
homepage = "https://benmezger.github.io/pyretries"
repository = "https://github.com/benmezger/pyretries"
documentation = "https://benmezger.github.io/pyretries"
keywords = ["retry", "python"]
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules"
]
[tool.poetry.dependencies]
python = "^3.11"
[tool.poetry.group.dev.dependencies]
pytest = ">=7.4.2,<9.0.0"
black = ">=23.9.1,<25.0.0"
isort = "^5.12.0"
flake8 = ">=6.1,<8.0"
pyright = "^1.1.330.post0"
pytest-asyncio = "^0.23.4"
pytest-cov = ">=4.1,<6.0"
mkdocs = "^1.5.3"
mkdocstrings = {version = ">=0.23,<0.26", extras = ["python"]}
mkdocs-material = "^9.4.4"
freezegun = "^1.2.2"
taskipy = "^1.12.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = "--cov --cov-report xml"
testpaths = [
"tests",
]
[tool.coverage.report]
exclude_also = [
# Don't complain about abstract methods, they aren't run:
"@(abc\\.)?abstractmethod",
"@(abc\\.)?abstractproperty",
]
[tool.taskipy.tasks]
fmt = "isort --profile=black . && black ."
test = "pytest -vv ."
check_fmt = "black --check . && isort --profile=black --check ."
check_types = "pyright ."
check_lint = "flake8 && task check_fmt && task check_types"
check = "task check_fmt && task check_types && task test"
docs = "mkdocs gh-deploy"