-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
87 lines (77 loc) · 1.84 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
85
86
87
[tool.poetry]
name = "evg-module-manager"
version = "1.3.2"
description = "Manage Evergreen modules locally."
authors = ["Dev Prod DAG <dev-prod-dag@mongodb.com>"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/evergreen-ci/evg-module-manager"
documentation = "https://evergreen-ci.github.io/evg-module-manager/"
packages = [
{ include = "emm", from = "src"},
]
[tool.poetry.scripts]
evg-module-manager = "emm.emm_cli:cli"
[tool.poetry.dependencies]
python = "^3.7.1"
click = "^8"
"evergreen.py" = "^3.2.7"
plumbum = "^1.7.0"
Inject = "^4.3.1"
structlog = "^21.1.0"
PyYAML = "^6.0.1"
xdg = "^5.1.1"
pydantic = "^1.8.2"
rich = "^10.9.0"
"shrub.py" = "^3.0.1"
urllib3 = "1.26.15"
[tool.poetry.group.dev.dependencies]
pytest = "^7.0"
black = "^22.3"
pytest-black = "^0.3"
pytest-cov = "^2.8"
importlib_metadata = "^4.13"
pytest-flake8 = "^1.0"
pytest-mypy = "^0.8"
mypy = "^0.910"
pytest-pydocstyle = "^2.3"
pre-commit = "^2.6"
pytest-isort = "^2.0"
flake8-bugbear = "^21.4"
types-PyYAML = "^5.4.10"
flake8 = "3.9.2"
py = "^1.11.0"
[tool.black]
line-length = 100
target-version = ['py39']
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 100
[tool.pytest.ini_options]
flake8-ignore = "W605 W503 W291 E203 E501 F821"
addopts = "--flake8 --black --mypy --isort --pydocstyle"
testpaths = [
"src",
"tests",
]
[tool.mypy]
ignore_missing_imports = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
disallow_untyped_calls = true
show_error_codes = true
[[tool.mypy.overrides]]
module = [
"tests.*",
]
ignore_errors = true
[tool.pydocstyle]
ignore = "D104,D203,D212,D301,D407,D412"
match = "(?!(?:test_|conftest)).*\\.py"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"