-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpyproject.toml
84 lines (76 loc) · 1.83 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[dependency-groups]
dev = [
"ruff==0.11.4",
"pre-commit==4.2.0"
]
[project]
authors = [{name = "nirtal85", email = "[email protected]"}]
dependencies = [
"allure-pytest==2.13.5",
"axe-playwright-python==0.1.4",
"playwright==1.51.0",
"pytest==8.3.5",
"pytest-base-url==2.1.0",
"pytest-playwright==0.7.0",
"pytest-split==0.10.0",
"requests==2.32.3"
]
description = "Playwright Python example project with pytest and Allure report"
keywords = [
"playwright",
"automation",
"testing",
"web"
]
name = "playwright-python"
readme = "README.md"
requires-python = "~=3.11"
version = "0.1.0"
[tool.hatch.build.targets.sdist]
include = ["playwright_python"]
[tool.hatch.build.targets.wheel]
include = ["playwright_python"]
[tool.isort]
profile = "black"
skip = ["env", "venv"]
[tool.pytest.ini_options]
addopts = [
"--clean-alluredir",
"--alluredir=allure-results",
"--allure-link-pattern",
"issue:https://{}",
"--allure-link-pattern",
"link:https://{}",
"--allure-link-pattern",
"tms:https://{}",
"-ra",
"--color=yes",
"--browser=chromium",
"--headed",
"--video=retain-on-failure",
"--tracing=retain-on-failure"
]
base_url = 'https://www.saucedemo.com/'
log_cli = true
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_level = "INFO"
markers = [
"devRun: marks tests that run before merge to the main branch"
]
[tool.ruff]
exclude = [".venv", "env"]
ignore = [
"D203", # One blank line required before class docstring (conflicts with D211)
"D213", # Multi-line docstring summary should start at the second line
"COM812"
]
line-length = 100
select = ["ALL"]
target-version = "py311"
[tool.ruff.format]
docstring-code-format = true
quote-style = "double"