forked from piqe-test-libraries/piqe-ocp-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
79 lines (73 loc) · 1.57 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
[tool.poetry]
name = "piqe-ocp-lib"
version = "0.1.0"
description = "PIQE OpenShift Python Libraries."
authors = ["Red Hat"]
readme = "README.md"
keywords = ["openshift"]
repository = "https://github.com/piqe-test-libraries/piqe-ocp-lib"
packages = [
{ include = "piqe_ocp_lib/api" },
{ include = "piqe_ocp_lib/*.py" },
]
[tool.poetry.dependencies]
python = "^3.6"
openshift = "*"
glusto = {git = "https://github.com/loadtheaccumulator/glusto.git", rev = "python3_port4"}
jmespath = "^0.10.0"
[tool.poetry.dev-dependencies]
flake8 = "^3.8.4"
pytest-sugar = "^0.9.4"
black = "^20.8b1"
isort = "^5.7.0"
pytest-lazy-fixture = "^0.6.3"
pytest = "~=6.2.2"
pytest-dependency = "~=0.5.1"
pytest-xdist = "~=2.2"
ipdb = "^0.13.7"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-s -rxs"
testpaths = ["./piqe_ocp_lib/tests"]
markers = [
"populate",
"longevity",
"cleanup",
"unit",
"integration",
"positive",
"negative",
"skip_if_not_provider",
"requiresoperator"
]
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
force_sort_within_sections = true
use_parentheses = true
combine_as_imports = true
known_first_party = ["piqe_ocp_lib"]
line_length = 120
[tool.black]
line-length = 120
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"