-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (79 loc) · 2.22 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (79 loc) · 2.22 KB
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "testcaseer"
version = "0.1.0"
description = "CLI tool for recording browser actions and generating test cases for QA engineers"
readme = "README.md"
license = "MIT"
requires-python = ">=3.13"
authors = [
{ name = "TestCaseer Team" }
]
keywords = ["testing", "qa", "browser", "playwright", "test-case", "automation"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Quality Assurance",
]
dependencies = [
"playwright>=1.40.0",
"pydantic>=2.5.0",
"typer>=0.9.0",
"rich>=13.0.0",
"jinja2>=3.1.0",
"pillow>=12.2.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-timeout>=2.2.0",
"pytest-cov>=7.1.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
]
[project.scripts]
testcaseer = "testcaseer.cli:app"
[project.urls]
Homepage = "https://github.com/testcaseer/testcaseer"
Repository = "https://github.com/testcaseer/testcaseer"
Issues = "https://github.com/testcaseer/testcaseer/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/testcaseer"]
[tool.ruff]
line-length = 100
target-version = "py313"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
ignore = ["E501"] # Line length handled by formatter
[tool.ruff.lint.isort]
known-first-party = ["testcaseer"]
[tool.mypy]
python_version = "3.13"
warn_return_any = false
warn_unused_ignores = false
disallow_untyped_decorators = false
disallow_subclassing_any = false
check_untyped_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
[[tool.mypy.overrides]]
module = ["pydantic.*", "typer.*", "rich.*", "playwright.*", "PIL.*", "jinja2.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
testpaths = ["tests"]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
]
timeout = 30
filterwarnings = [
"ignore::DeprecationWarning",
]