-
Notifications
You must be signed in to change notification settings - Fork 256
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (32 loc) · 1005 Bytes
/
pyproject.toml
File metadata and controls
37 lines (32 loc) · 1005 Bytes
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
[tool.poe.tasks]
linter = "ruff check"
allure-generate = "allure generate --clean --output ./.allure-report ./.allure-results"
allure-open = "allure open ./.allure-report"
[tool.poe.tasks.tests]
cmd = "pytest"
env = { PYTEST_DISABLE_PLUGIN_AUTOLOAD = "true" }
[tool.poe.tasks.allure-collect]
cmd = "pytest -p allure_pytest --alluredir ./.allure-results --clean-alluredir --allure-link-pattern issue:https://github.com/allure-framework/allure-python/issues/{0}"
env = { PYTEST_DISABLE_PLUGIN_AUTOLOAD = "true" }
[tool.pytest.ini_options]
testpaths = [
"tests"
]
addopts = [
"-p", "no:allure_pytest",
"-p", "no:allure_pytest_bdd"
]
[tool.ruff]
extend-exclude = [
"tests/allure_behave/acceptance/**/test-data/**",
"tests/allure_behave/acceptance/behave_support/background/background_steps.py",
]
line-length = 120
[tool.ruff.lint]
select = [
"A", # flake8-builtins
"E", # pycodestyle errors
"F", # pyflakes
"Q", # flake8-quotes
"W", # pycodestyle warnings
]