-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
50 lines (40 loc) · 1.52 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
[tool.poetry]
name = "pytest-ruff"
version = "0.0.0"
description = "pytest plugin to check ruff requirements."
authors = ["Iuri de Silvio <iurisilvio@gmail.com>"]
readme = "README.md"
classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Operating System :: OS Independent", "Framework :: Pytest", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Libraries :: Python Modules"]
[tool.poetry.urls]
Homepage = "https://github.com/businho/pytest-ruff"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry.dependencies]
pytest = ">=5"
python = "^3.8"
ruff = ">=0.0.242"
[tool.poetry.group.dev.dependencies]
pytest-mock = "^3.10.0"
pytest-cov = "^4.1.0"
[tool.poetry-dynamic-versioning]
enable = true
[tool.pytest.ini_options]
addopts = "--capture=no"
filterwarnings = [
"error",
# pytest-cov warnings
"ignore:ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead:DeprecationWarning",
"ignore:Attribute s is deprecated and will be removed in Python 3.14; use value instead:DeprecationWarning",
"ignore:ast.NameConstant is deprecated and will be removed in Python 3.14; use ast.Constant instead:DeprecationWarning",
]
[tool.ruff]
line-length = 88
[tool.poetry.plugins]
pytest11 = { ruff = "pytest_ruff" }
[tool.coverage.run]
branch = true
[tool.coverage.report]
precision = 2
show_missing = true
skip_covered = true