-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
74 lines (68 loc) · 1.56 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
[tool.poetry]
name = "matrix42sdk"
version = "3.0.3"
description = "Python SDK for Matrix42 Enterprise Service Management CMBD"
authors = ["John Malc <cincenko@outlook.com>"]
homepage = "https://github.com/dmpe/matrix42sdk"
documentation = "https://github.com/dmpe/matrix42sdk"
license = "MIT"
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Internet :: WWW/HTTP",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.dependencies]
python = "^3.8" #minimal
requests = "*"
mypy = "*"
[tool.poetry.dev-dependencies]
pytest = "*"
mock = "*"
isort = {extras = ["pyproject"], version = "*"}
black = {version = "*", allow-prereleases = true }
pytest-cov = "*"
pylint = "*"
keyring = "*"
artifacts-keyring = "*"
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = "-v --capture=no"
testpaths = [
"tests"
]
[tool.black]
line-length = 90
target-version = ['py38', 'py39']
exclude = '''
(
asv_bench/env
| \.egg
| \.git
| \.hg
| \.mypy_cache
| \.nox
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| setup.py
)
'''
[tool.isort]
profile = "black"
known_standard_library = "dataclasses,typing_extensions"
known_third_party = "click,log"
combine_as_imports = true
force_grid_wrap = false
include_trailing_comma = true
lines_after_imports = 2
line_length = 90
default_section = "FIRSTPARTY"