-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
116 lines (104 loc) · 2.67 KB
/
Copy pathpyproject.toml
File metadata and controls
116 lines (104 loc) · 2.67 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[tool]
[tool.poetry]
name = "deluge-card"
version = "0.7.2"
homepage = "https://github.com/mupaduw/deluge-card"
description = "python api for synthstrom deluge cards from fw3.15+."
authors = ["Chris Chamberlain <chrisbc@artisan.co.nz>"]
readme = "README.md"
license = "MIT"
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
]
packages = [
{ include = "deluge_card" },
{ include = "tests", format = "sdist" },
]
[tool.poetry.dev-dependencies]
black = { version = ">=22.3"}
isort = { version = "^5.8.0"}
flake8 = { version = "^3.9.2"}
flake8-docstrings = { version = "^1.6.0"}
mypy = {version = "^0.900"}
pytest = { version = "^6.2.4"}
pytest-cov = { version = "^2.12.0"}
tox = { version = "^3.20.1"}
virtualenv = { version = "^20.2.2"}
pip = { version = "^20.3.1", optional = true}
mkdocs = {version = ">=1.1"}
mkdocs-include-markdown-plugin = {version = ">=1.0.0"}
mkdocs-material = {version = ">=6.1.7"}
mkdocs-material-extensions = {version = ">=1.0.1"}
mkdocstrings = {version = ">=0.18.0"}
mkdocs-autorefs = {version = ">=0.3.1"}
twine = {version = "^3.3.0"}
pre-commit = {version = "^2.12.0", optional = true}
toml = {version = "^0.10.2", optional = true}
bump2version = {version = "^1.0.1", optional = true}
jinja2 = {version = "==3.0.3"}
click = "^8.1.3"
pymdown-extensions = ">=9.4"
mkdocstrings-python = ">=0.6.5"
mkdocs-pymdownx-material-extras = "^2.0.3"
xmldiff = "^2.4"
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
lxml = "^4.8.0"
pydel = "^0.5.3"
[tool.poetry.extras]
test = [
"pytest",
"black",
"isort",
"mypy",
"flake8",
"flake8-docstrings",
"pytest-cov"
]
dev = ["tox", "pre-commit", "virtualenv", "pip", "twine", "toml", "bump2version"]
doc = [
"mkdocs",
"mkdocs-include-markdown-plugin",
"mkdocs-material",
"mkdocstrings",
"mkdocs-material-extension",
"mkdocs-autorefs"
]
[tool.black]
line-length = 120
skip-string-normalization = true
target-version = ['py38','py39']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 120
skip_gitignore = true
# you can skip files as below
#skip_glob = docs/conf.py
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"