-
Notifications
You must be signed in to change notification settings - Fork 15
/
pyproject.toml
98 lines (92 loc) · 3.45 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
88
89
90
91
92
93
94
95
96
97
98
[tool.ruff]
exclude = [
".eggs",
".git",
".hg",
".mypy_cache",
".ruff_cache",
".tox",
".venv",
".env",
"_build",
"buck-out",
"build",
"dist",
"codeseeder.out",
"seedfarmer.gitmodules"
]
line-length = 120
target-version = "py38"
[tool.ruff.lint]
select = ["E", "W", "F", "I"]
ignore = []
fixable = ["ALL"]
[tool.ruff.lint.per-file-ignores]
"docs/*" = ["E402"]
"test/unit-test/mock_data/*" = ["E501"]
[tool.mypy]
python_version = "3.8"
strict = true
ignore_missing_imports = true
disallow_untyped_decorators = false
exclude = "codeseeder.out/|examples/|modules/|test/|seedfarmer.gitmodules/"
[tool.pytest.ini_options]
markers = [
"first: marks the first test to run",
"second: marks the seconds test to run",
"last: marks the last test to run",
"apply: marks `seedfarmer apply` tests",
"apply_working_module: marks `seedfarmer apply` test that creates a functioning module",
"destroy: marks `seedfarmer destroy` tests",
"init: marks `seedfarmer init` tests",
"list: marks all `seedfarmer list` tests",
"list_deployments: marks all `seedfarmer list deployments` tests",
"list_deployspec: marks all `seedfarmer list deployspec` tests",
"list_moduledata: marks all `seedfarmer list moduledata` tests",
"list_dependencies: marks all `seedfarmer list dependencies` tests",
"list_modules: marks all `seedfarmer list modules` tests",
"list_build_env_params: marks all `seedfarmer list buildparams` tests",
"remove: marks all `seedfarmer remove` tests",
"store: marks all `seedfarmer store` tests",
"store_md5: marks all `seedfarmer store` tests",
"store_deployspec: marks all `seedfarmer store` tests",
"store_moduledata: marks all `seedfarmer store` tests",
"models: marks all `models` tests",
"models_deployment_manifest: marks all `DeploymentManifest` tests",
"models_module_manifest: marks all `ModuleManifest` tests",
"models_deployspec: marks all `DeploySpec` tests",
"models_deployresponses: marks all `DeploymentResponses` tests",
"utils_test: marks all `utils_test` tests",
"checksum: marks all `checksum` tests",
"bootstrap: marks all `commands_bootstrap` tests",
"mgmt: marks all `mgmt` tests",
"mgmt_module_info: marks all `mgmt_module_info` tests",
"mgmt_deployment_utils: marks all `mgmt_deployment_utils` tests",
"mgmt_deployment_utils_filter: marks all `mgmt_deployment_utils_filter` tests",
"mgmt_metadata_support: marks all `mgmt_metadata_support` tests",
"mgmt_build_info: marks all `mgmt_build_info` tests",
"mgmt_git_support: marks all `mgmt_git_support` tests",
"mgmt_archive_support: marks all `mgmt_archive_support` tests",
"service: marks all `services` tests",
"projectpolicy: marks all `projectpolicy` tests",
"metadata: marks all `metadata` tests",
"version: marks all `version` tests",
"session_manager: marks all `session_manager` tests",
"commands: marks all `commands` tests",
"commands_stack: marks all `comands_stacks` tests",
"commands_parameters: marks all `commands_parameters` tests",
"commands_modules: marks all `commands_modules` tests",
"commands_deployment: marks all `commands_deployment` tests",
"commands_bootstrap: marks all `commands_bootstrap` tests",
]
log_cli_level = "INFO"
addopts = "-v --cov=. --cov-report=term --cov-report=html"
pythonpath = [
"."
]
[tool.pytest.coverage.run]
omit = [
"test/*"
]
[tool.coverage.report]
fail_under = 80.0