-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (92 loc) · 2.31 KB
/
pyproject.toml
File metadata and controls
101 lines (92 loc) · 2.31 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
[tool.poetry]
name = "connect-devops_testing-library"
version = "0.0.0"
license = "Apache-2.0"
readme = './README.md'
description = "Testing framework to ease Connect EaaS Processors development."
repository = 'https://github.com/cloudblue/connect-devops-testing-library'
packages = [
{ include = "connect" },
]
authors = [
"CloudBlue LLC"
]
keywords = [
'connect',
'eaas',
'testing',
'framework'
]
classifiers = [
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries :: Python Modules"
]
[tool.poetry.dependencies]
python = ">=3.7,<4"
behave = "^1.2"
connect-openapi-client = "^25.0"
Faker = "^15.3.4"
Pygments = "^2.13.0"
[tool.poetry.dev-dependencies]
pytest = "^6.1.2"
pytest-cov = "^2.10.1"
pytest-mock = "^3.3.1"
python-dotenv = "^0.19.2"
coverage = { extras = ["toml"], version = "^5.3" }
responses = "^0.12.0"
flake8 = "^5.0"
flake8-bugbear = "^22"
flake8-cognitive-complexity = "^0.1"
flake8-commas = "^2.1"
flake8-future-import = "~0.4"
flake8-import-order = "~0.18"
flake8-broken-line = "~0.5"
flake8-comprehensions = "^3.10"
flake8-debugger = "^4.0.0"
flake8-eradicate = "^1.3.0"
flake8-string-format = "^0.3.0"
flake8-pyproject = "^1.2.2"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = "tests"
addopts = "-p no:cacheprovider --cov=connect.devops_testing --cov-report=html --cov-report=xml --cov-report=term"
[tool.coverage.run]
omit = ["tests/*", "venv*/*", "setup.py"]
relative_files = true
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __str__",
"def __repr__",
"import",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]
[tool.coverage.html]
skip_covered = true
[tool.flake8]
exclude = [
'.idea',
'.vscode',
'.git',
'*/migrations/*.py',
'*.eggs',
'*.egg',
'tests/',
'setup.py',
'connect/.data',
'samples'
]
show_source = true
max_line_length = 120
import-order-style = 'smarkets'
max_cognitive_complexity = 15
ignore = ['FI1', 'I100', 'W503', 'FI58']