-
Notifications
You must be signed in to change notification settings - Fork 84
/
pyproject.toml
84 lines (75 loc) · 1.85 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
80
81
82
83
84
[tool.poetry]
name = "pelorus"
version = "0.1.0" # we are not using it yet
description = "Automate the measurement of organizational behavior"
authors = ["Pelorus community"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
asyncio = "^3.4.3"
attrs = "^23.1.0"
azure-devops = "6.0.0b4"
exceptiongroup = "^1.1.1"
fastapi = "^0.95.1"
git-url-parse = "^1.2.2"
jira = "3.4.1"
jsonpath-ng = "^1.5.3"
openshift = "0.13.1"
prometheus-client = "^0.16.0"
pygithub = "^1.58.1"
python-gitlab = ">=2.4.0" # change to ^?
pytz = "^2023.3"
requests = "^2.31.0"
typing-extensions = "^4.5.0"
uvicorn = "^0.22.0"
[tool.poetry.group.dev.dependencies]
adr-tools-python = "^1.0.3"
black = "^23.3.0"
httpx = "^0.24.0"
isort = "^5.12.0"
pre-commit = "^3.3.1"
pylama = {version = "^8.4.0", extras = ["toml"]}
pyright = "^1.1.305"
pytest = "^7.3.1"
pytest-asyncio = "^0.21.0"
pytest-cov = "^4.0.0"
semver = "^3.0.0"
yamale = "^4.0.4"
yamllint = "^1.31.0"
yq = "^3.2.2"
[tool.poetry.group.doc.dependencies]
cairosvg = "^2.7.0"
diagrams = "^0.23.3"
mkdocs = "^1.6.0"
mkdocs-material = "^9.5.22"
mkdocs-redirects = "^1.2.0"
pillow = "^10.1.0"
pymdown-extensions = "^10.4"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
src_paths = ["exporters" ,"scripts"]
known_first_party = ["pelorus"]
[tool.pytest.ini_options]
testpaths = ["exporters"]
markers = [
"integration: marks tests as integration tests (deselect with '-m \"not integration\"')",
"mockoon: tests that should be run with mockoon running"
]
log_cli = true
addopts = [
"--doctest-modules",
"--cov-report=term-missing",
"--cov-report=html",
"--cov=exporters",
]
[tool.pylama]
paths = "exporters scripts"
skip = "exporters/.eggs/*"
[tool.pylama.linter.pycodestyle]
max_line_length = 120
[[tool.pylama.files]]
path = "exporters/tests/*"
ignore= "W0401"