Skip to content

Commit 8f3e582

Browse files
committed
use double quotes in pyproject.toml
1 parent c9cee62 commit 8f3e582

File tree

1 file changed

+69
-69
lines changed

1 file changed

+69
-69
lines changed

pyproject.toml

Lines changed: 69 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,124 +1,124 @@
11
[build-system]
2-
requires = ['hatchling']
3-
build-backend = 'hatchling.build'
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
44

55
[tool.hatch.build.targets.sdist]
66
# limit which files are included in the sdist (.tar.gz) asset,
77
# see https://github.com/pydantic/pydantic/pull/4542
8-
include = ['/README.md', '/Makefile', '/pytest_examples', '/tests']
8+
include = ["/README.md", "/Makefile", "/pytest_examples", "/tests"]
99

1010
[project]
11-
name = 'pytest-examples'
12-
version = '0.0.14'
13-
description = 'Pytest plugin for testing examples in docstrings and markdown files.'
11+
name = "pytest-examples"
12+
version = "0.0.14"
13+
description = "Pytest plugin for testing examples in docstrings and markdown files."
1414
authors = [
15-
{name = 'Samuel Colvin', email = '[email protected]'},
15+
{name = "Samuel Colvin", email = "[email protected]"},
1616
]
17-
license = 'MIT'
18-
readme = 'README.md'
17+
license = "MIT"
18+
readme = "README.md"
1919
classifiers = [
20-
'Programming Language :: Python',
21-
'Programming Language :: Python :: 3',
22-
'Programming Language :: Python :: 3 :: Only',
23-
'Programming Language :: Python :: 3.8',
24-
'Programming Language :: Python :: 3.9',
25-
'Programming Language :: Python :: 3.10',
26-
'Programming Language :: Python :: 3.11',
27-
'Programming Language :: Python :: 3.12',
28-
'Programming Language :: Python :: 3.13',
29-
'Intended Audience :: Developers',
30-
'License :: OSI Approved :: MIT License',
31-
'Operating System :: Unix',
32-
'Operating System :: POSIX :: Linux',
33-
'Environment :: Console',
34-
'Environment :: MacOS X',
35-
'Framework :: Pytest',
36-
'Topic :: Software Development :: Libraries :: Python Modules',
20+
"Programming Language :: Python",
21+
"Programming Language :: Python :: 3",
22+
"Programming Language :: Python :: 3 :: Only",
23+
"Programming Language :: Python :: 3.8",
24+
"Programming Language :: Python :: 3.9",
25+
"Programming Language :: Python :: 3.10",
26+
"Programming Language :: Python :: 3.11",
27+
"Programming Language :: Python :: 3.12",
28+
"Programming Language :: Python :: 3.13",
29+
"Intended Audience :: Developers",
30+
"License :: OSI Approved :: MIT License",
31+
"Operating System :: Unix",
32+
"Operating System :: POSIX :: Linux",
33+
"Environment :: Console",
34+
"Environment :: MacOS X",
35+
"Framework :: Pytest",
36+
"Topic :: Software Development :: Libraries :: Python Modules",
3737
]
38-
requires-python = '>=3.8'
38+
requires-python = ">=3.8"
3939
dependencies = [
40-
'pytest>=7',
41-
'black>=23',
42-
'ruff>=0.5.0',
40+
"pytest>=7",
41+
"black>=23",
42+
"ruff>=0.5.0",
4343
]
4444

4545
[project.entry-points.pytest11]
46-
examples = 'pytest_examples'
46+
examples = "pytest_examples"
4747

4848
[project.urls]
49-
repository = 'https://github.com/pydantic/pytest-examples'
49+
repository = "https://github.com/pydantic/pytest-examples"
5050

5151
[dependency-groups]
5252
dev = [
53-
'coverage[toml]>=7.6.1',
54-
'pytest-pretty>=1.2.0',
53+
"coverage[toml]>=7.6.1",
54+
"pytest-pretty>=1.2.0",
5555
]
5656
lint = [
57-
'pre-commit>=3.5.0',
58-
'pyright>=1.1.389',
59-
'ruff>=0.7.4',
57+
"pre-commit>=3.5.0",
58+
"pyright>=1.1.389",
59+
"ruff>=0.7.4",
6060
]
6161

6262
[tool.pytest.ini_options]
63-
testpaths = ['tests', 'example']
64-
filterwarnings = 'error'
63+
testpaths = ["tests", "example"]
64+
filterwarnings = "error"
6565
xfail_strict = true
6666

6767
[tool.ruff]
6868
line-length = 120
69-
target-version = 'py39'
69+
target-version = "py39"
7070
include = [
71-
'pytest_examples/**/*.py',
72-
'tests/**/*.py',
73-
'examples/**/*.py',
71+
"pytest_examples/**/*.py",
72+
"tests/**/*.py",
73+
"examples/**/*.py",
7474
]
75-
exclude = ['tests/cases_update/*.py']
75+
exclude = ["tests/cases_update/*.py"]
7676

7777
[tool.ruff.lint]
7878
extend-select = [
79-
'Q',
80-
'RUF100',
81-
'C90',
82-
'UP',
83-
'I',
84-
'D',
79+
"Q",
80+
"RUF100",
81+
"C90",
82+
"UP",
83+
"I",
84+
"D",
8585
]
86-
flake8-quotes = { inline-quotes = 'single', multiline-quotes = 'double' }
87-
isort = { combine-as-imports = true, known-first-party = ['pytest_examples'] }
86+
flake8-quotes = { inline-quotes = "single", multiline-quotes = "double" }
87+
isort = { combine-as-imports = true, known-first-party = ["pytest_examples"] }
8888
mccabe = { max-complexity = 15 }
8989
ignore = [
90-
'D100', # ignore missing docstring in module
91-
'D101', # ignore missing docstring in public class
92-
'D102', # ignore missing docstring in public method
93-
'D103', # ignore missing docstring in public function
94-
'D104', # ignore missing docstring in public package
95-
'D105', # ignore missing docstring in magic methods
96-
'D107', # ignore missing docstring in __init__ methods
90+
"D100", # ignore missing docstring in module
91+
"D101", # ignore missing docstring in public class
92+
"D102", # ignore missing docstring in public method
93+
"D103", # ignore missing docstring in public function
94+
"D104", # ignore missing docstring in public package
95+
"D105", # ignore missing docstring in magic methods
96+
"D107", # ignore missing docstring in __init__ methods
9797
]
9898

9999
[tool.ruff.lint.pydocstyle]
100-
convention = 'google'
100+
convention = "google"
101101

102102
[tool.ruff.format]
103103
docstring-code-format = true
104-
quote-style = 'single'
104+
quote-style = "single"
105105

106106
[tool.coverage.run]
107-
source = ['pytest_examples']
107+
source = ["pytest_examples"]
108108
branch = true
109109

110110
[tool.coverage.report]
111111
precision = 2
112112
exclude_lines = [
113-
'pragma: no cover',
114-
'raise NotImplementedError',
115-
'if TYPE_CHECKING:',
116-
'@overload',
113+
"pragma: no cover",
114+
"raise NotImplementedError",
115+
"if TYPE_CHECKING:",
116+
"@overload",
117117
]
118118

119119
[tool.pyright]
120-
#typeCheckingMode = 'strict'
120+
#typeCheckingMode = "strict"
121121
reportUnnecessaryTypeIgnoreComment = true
122122
reportMissingTypeStubs = false
123-
include = ['pytest_examples']
124-
venvPath = '.venv'
123+
include = ["pytest_examples"]
124+
venvPath = ".venv"

0 commit comments

Comments
 (0)