-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
73 lines (62 loc) · 1.71 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
[build-system]
requires = ["poetry-core", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry]
name = "powernap"
version = "0.0.0"
description = "A small REST client that refills your batteries"
authors = ["Joachim Jablon <ewjoachim@gmail.com>"]
license = "MIT License"
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
]
keywords = ["rest", "httpx"]
repository = "https://github.com/ewjoachim/powernap"
packages = [{include = "powernap"}]
[tool.poetry.dependencies]
python = "^3.7"
httpx = "*"
typing-extensions = "^4.4.0"
[tool.poetry.group.lint.dependencies]
mypy = "*"
black = "*"
isort = "*"
[tool.poetry.group.tests.dependencies]
pytest = "*"
pytest-cov = "*"
pytest-call-checker = "^1.0.5"
[tool.poetry-dynamic-versioning]
enable = true
pattern = '(?P<base>\d+\.\d+\.\d+)'
[tool.isort]
profile = "black"
known_first_party = "powernap"
add_imports = "__future__.annotations"
[tool.doc8]
max-line-length = 88
ignore-path = "docs/_build"
[tool.pytest.ini_options]
addopts = """
--cov-report term-missing --cov-branch --cov-report html --cov-report term
--cov=powernap -vv --strict-markers -rfE
"""
testpaths = ["tests"]
[tool.mypy]
no_implicit_optional = true
[tool.coverage.run]
relative_files = true
[tool.coverage.report]
exclude_lines = [
"raise NotImplementedError",
"coverage: exclude",
"if TYPE_CHECKING:",
"^ +\\.\\.\\.$",
]