-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
107 lines (94 loc) · 2.3 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
99
100
101
102
103
104
105
106
107
[build-system]
requires = ["setuptools >= 64.0", "setuptools-scm>=8.0"]
build-backend = "setuptools.build_meta"
[project]
name = "pytest-smoke"
description = "Pytest plugin for smoke testing"
readme = "README.md"
license = {file="LICENSE"}
authors = [
{ name = "Yugo Kato" },
]
keywords = ["pytest", "smoke", "smoke testing"]
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Pytest",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
]
dependencies = [
"pytest>=7.0.0,<9",
"pluggy>=1.2.0"
]
dynamic = ["version"]
[project.optional-dependencies]
lint = [
"mypy>=1.15.0,<2",
"pre-commit>=3.0.0,<5",
"ruff==0.11.6",
]
test = [
"pytest-mock>=3.0.0,<4",
"pytest-xdist[psutil]>=2.3.0,<4"
]
dev = [
"tox>=4.0.0,<5",
"tox-uv>=1.0.0,<2",
"pytest-smoke[lint,test]",
]
[project.urls]
Homepage = "https://github.com/yugokato/pytest-smoke"
[project.entry-points.pytest11]
smoke = "pytest_smoke.plugin"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools_scm]
local_scheme = "no-local-version"
[tool.ruff]
line-length = 120
indent-width = 4
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"FA", # flake8-future-annotations
"I", # isort
"PIE", # flake8-pie
"PLC", # Pylint convention
"PLE", # Pylint error
"PLW", # Pylint warning
"RUF", # Ruff-specific rules
"T20", # flake8-print
"UP", # pyupgrade
"W", # pycodestyle warning
]
[tool.ruff.lint.pyupgrade]
keep-runtime-typing = true
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = "dynamic"
[tool.mypy]
files = [
"src"
]
mypy_path = [
"src"
]
follow_imports = "skip"
check_untyped_defs = true
disallow_any_generics = true
disallow_untyped_defs = true
ignore_missing_imports = true
strict_equality = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_ignores = true