-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
80 lines (74 loc) · 1.92 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
77
78
79
80
[tool.poetry]
name = "newversion"
version = "0.1.4"
description = "PEP 440 version manager"
authors = ["Vlad Emelianov <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/vemel/newversion"
include = ["LICENSE"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Typing :: Typed",
"Topic :: Software Development :: Libraries :: Python Modules",
]
keywords = ["version", "pep440"]
[tool.poetry.urls]
"Documentation" = "https://newversion.readthedocs.io/en/latest/"
"Source" = "https://github.com/vemel/newversion"
"Tracker" = "https://github.com/vemel/newversion/issues"
[tool.poetry.dependencies]
python = "^3.7"
packaging = "^20.0"
typing-extensions = "^3.7.4"
[tool.poetry.dev-dependencies]
black = "^20.8b1"
isort = "^5.7.0"
handsdown = "^0.3.9"
pytest = "^6.2.2"
flake8 = "^3.8.4"
pytest-cov = "^2.11.1"
codecov = "^2.1.11"
twine = "^3.3.0"
[build-system]
requires = ["poetry-core>=1.0.0", "setuptools"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.report]
exclude_lines = [
"if self.debug:",
"pragma: no cover",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@overload",
]
ignore_errors = true
omit = [
"tests/*",
]
[tool.isort]
profile = "black"
line_length = 100
known_first_party = [
"newversion",
"tests",
]
src_paths = []
[tool.black]
line-length = 100
include = '(newversion|tests)/.*\.pyi?$'
target-version = [
'py36',
'py37',
'py38',
]