-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
63 lines (53 loc) · 1.64 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
[tool.poetry]
name = "single-source"
version = "0.4.0"
description = "Access to the project version in Python code for PEP 621-style projects"
authors = ["Daniil Shadrin <[email protected]>"]
maintainers = ["Daniil Shadrin <[email protected]>"]
readme = "README.md"
license = "MIT"
homepage = "https://github.com/rabbit72/single-source"
repository = "https://github.com/rabbit72/single-source.git"
keywords = ["pyproject", "version", "__version__", "poetry", "single source"]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [{include = "single_source"}]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/rabbit72/single-source/issues"
[tool.poetry.dev-dependencies]
toml = "^0.10.2"
pytest = "*"
pytest-mock = "*"
black = "^24.4.2"
isort = {version = "*", extras = ["pyproject"]}
flake8 = "*"
flake8-bugbear = "*"
pre-commit = "*"
mypy = "^1.10.0"
[tool.poetry.dependencies]
python = "^3.8"
[tool.black]
line-length = 88
target-version = ['py38']
# backward compatibility with black
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
known_third_party = ["pytest", "setuptools", "toml"]
# backward compatibility with black
[tool.pylint.messages_control]
disable = "C0330, C0326"
[tool.pylint.format]
max-line-length = "88"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"