@@ -9,11 +9,9 @@ include = ["/README.md", "/Makefile", "/pytest_examples", "/tests"]
9
9
10
10
[project ]
11
11
name = " pytest-examples"
12
- version = " 0.0.17 "
12
+ version = " 0.0.18 "
13
13
description = " Pytest plugin for testing examples in docstrings and markdown files."
14
- authors = [
15
- {
name =
" Samuel Colvin" ,
email =
" [email protected] " },
16
- ]
14
+ authors = [{
name =
" Samuel Colvin" ,
email =
" [email protected] " }]
17
15
license = " MIT"
18
16
readme = " README.md"
19
17
classifiers = [
@@ -36,11 +34,7 @@ classifiers = [
36
34
" Topic :: Software Development :: Libraries :: Python Modules" ,
37
35
]
38
36
requires-python = " >=3.8"
39
- dependencies = [
40
- " pytest>=7" ,
41
- " black>=23" ,
42
- " ruff>=0.5.0" ,
43
- ]
37
+ dependencies = [" pytest>=7" , " black>=23" , " ruff>=0.5.0" ]
44
38
45
39
[project .entry-points .pytest11 ]
46
40
examples = " pytest_examples"
@@ -49,15 +43,8 @@ examples = "pytest_examples"
49
43
repository = " https://github.com/pydantic/pytest-examples"
50
44
51
45
[dependency-groups ]
52
- dev = [
53
- " coverage[toml]>=7.6.1" ,
54
- " pytest-pretty>=1.2.0" ,
55
- ]
56
- lint = [
57
- " pre-commit>=3.5.0" ,
58
- " pyright>=1.1.389" ,
59
- " ruff>=0.7.4" ,
60
- ]
46
+ dev = [" coverage[toml]>=7.6.1" , " pytest-pretty>=1.2.0" ]
47
+ lint = [" pre-commit>=3.5.0" , " pyright>=1.1.389" , " ruff>=0.7.4" ]
61
48
62
49
[tool .pytest .ini_options ]
63
50
testpaths = [" tests" , " example" ]
@@ -67,22 +54,11 @@ xfail_strict = true
67
54
[tool .ruff ]
68
55
line-length = 120
69
56
target-version = " py39"
70
- include = [
71
- " pytest_examples/**/*.py" ,
72
- " tests/**/*.py" ,
73
- " examples/**/*.py" ,
74
- ]
57
+ include = [" pytest_examples/**/*.py" , " tests/**/*.py" , " examples/**/*.py" ]
75
58
exclude = [" tests/cases_update/*.py" ]
76
59
77
60
[tool .ruff .lint ]
78
- extend-select = [
79
- " Q" ,
80
- " RUF100" ,
81
- " C90" ,
82
- " UP" ,
83
- " I" ,
84
- " D" ,
85
- ]
61
+ extend-select = [" Q" , " RUF100" , " C90" , " UP" , " I" , " D" ]
86
62
flake8-quotes = { inline-quotes = " single" , multiline-quotes = " double" }
87
63
isort = { combine-as-imports = true , known-first-party = [" pytest_examples" ] }
88
64
mccabe = { max-complexity = 15 }
@@ -120,5 +96,8 @@ exclude_lines = [
120
96
# typeCheckingMode = "strict"
121
97
reportUnnecessaryTypeIgnoreComment = true
122
98
reportMissingTypeStubs = false
99
+ reportUnusedCallResult = false
100
+ reportExplicitAny = false
101
+ reportAny = false
123
102
include = [" pytest_examples" ]
124
103
venvPath = " .venv"
0 commit comments