@@ -9,11 +9,9 @@ include = ["/README.md", "/Makefile", "/pytest_examples", "/tests"]
99
1010[project ]
1111name = " pytest-examples"
12- version = " 0.0.17 "
12+ version = " 0.0.18 "
1313description = " Pytest plugin for testing examples in docstrings and markdown files."
14- authors = [
15- {name = " Samuel Colvin" , email = " s@muelcolvin.com" },
16- ]
14+ authors = [{ name = " Samuel Colvin" , email = " s@muelcolvin.com" }]
1715license = " MIT"
1816readme = " README.md"
1917classifiers = [
@@ -36,11 +34,7 @@ classifiers = [
3634 " Topic :: Software Development :: Libraries :: Python Modules" ,
3735]
3836requires-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" ]
4438
4539[project .entry-points .pytest11 ]
4640examples = " pytest_examples"
@@ -49,15 +43,8 @@ examples = "pytest_examples"
4943repository = " https://github.com/pydantic/pytest-examples"
5044
5145[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" ]
6148
6249[tool .pytest .ini_options ]
6350testpaths = [" tests" , " example" ]
@@ -67,22 +54,11 @@ xfail_strict = true
6754[tool .ruff ]
6855line-length = 120
6956target-version = " py39"
70- include = [
71- " pytest_examples/**/*.py" ,
72- " tests/**/*.py" ,
73- " examples/**/*.py" ,
74- ]
57+ include = [" pytest_examples/**/*.py" , " tests/**/*.py" , " examples/**/*.py" ]
7558exclude = [" tests/cases_update/*.py" ]
7659
7760[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" ]
8662flake8-quotes = { inline-quotes = " single" , multiline-quotes = " double" }
8763isort = { combine-as-imports = true , known-first-party = [" pytest_examples" ] }
8864mccabe = { max-complexity = 15 }
@@ -120,5 +96,8 @@ exclude_lines = [
12096# typeCheckingMode = "strict"
12197reportUnnecessaryTypeIgnoreComment = true
12298reportMissingTypeStubs = false
99+ reportUnusedCallResult = false
100+ reportExplicitAny = false
101+ reportAny = false
123102include = [" pytest_examples" ]
124103venvPath = " .venv"
0 commit comments