Skip to content

Commit 477b580

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0255277 commit 477b580

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

pyproject.toml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ classifiers = [
3131
"Programming Language :: Python :: 3.11",
3232
"Programming Language :: Python :: 3.12",
3333
"Programming Language :: Python :: 3.13",
34+
"Programming Language :: Python :: 3.14",
3435
]
3536
dynamic = [
3637
"version",
@@ -44,10 +45,10 @@ dependencies = [
4445
"userpath>=1.6,!=1.9",
4546
]
4647
urls."Bug Tracker" = "https://github.com/pypa/pipx/issues"
47-
urls.Documentation = "https://pipx.pypa.io"
48-
urls.Homepage = "https://pipx.pypa.io"
4948
urls."Release Notes" = "https://pipx.pypa.io/latest/changelog/"
5049
urls."Source Code" = "https://github.com/pypa/pipx"
50+
urls.Documentation = "https://pipx.pypa.io"
51+
urls.Homepage = "https://pipx.pypa.io"
5152
scripts.pipx = "pipx.main:cli"
5253

5354
[tool.hatch]
@@ -99,19 +100,19 @@ lint.mccabe.max-complexity = 15
99100

100101
[tool.codespell]
101102
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
102-
skip = '.git,*.pdf,*.svg,.nox,testdata,.mypy_cache'
103+
skip = ".git,*.pdf,*.svg,.nox,testdata,.mypy_cache"
103104
check-hidden = true
104105
# case sensitive etc
105-
ignore-regex = '\b(UE|path/doesnt/exist)\b'
106+
ignore-regex = "\\b(UE|path/doesnt/exist)\\b"
106107

107-
[tool.pytest.ini_options]
108-
minversion = "8"
109-
log_cli_level = "INFO"
110-
markers = [
108+
[tool.pytest]
109+
ini_options.minversion = "8"
110+
ini_options.log_cli_level = "INFO"
111+
ini_options.markers = [
111112
"all_packages: test install with maximum number of packages",
112113
]
113-
testpaths = [ "tests" ]
114-
addopts = [ "-ra", "--strict-config", "--strict-markers" ]
114+
ini_options.testpaths = [ "tests" ]
115+
ini_options.addopts = [ "-ra", "--strict-config", "--strict-markers" ]
115116

116117
[tool.towncrier]
117118
directory = "changelog.d"
@@ -126,8 +127,7 @@ title_format = "## [{version}](https://github.com/pypa/pipx/tree/{version}) - {p
126127
issue_format = "[#{issue}](https://github.com/pypa/pipx/issues/{issue})"
127128
package = "pipx"
128129

129-
[[tool.mypy.overrides]]
130-
module = [
130+
[tool.mypy]
131+
overrides = [ { module = [
131132
"pycowsay.*",
132-
]
133-
ignore_missing_imports = true
133+
], ignore_missing_imports = true } ]

testdata/empty_project/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[build-system]
22
build-backend = "setuptools.build_meta"
3-
43
requires = [
54
"setuptools",
65
]
@@ -20,6 +19,7 @@ classifiers = [
2019
"Programming Language :: Python :: 3.11",
2120
"Programming Language :: Python :: 3.12",
2221
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2323
]
2424
scripts.empty-project = "empty_project.main:cli"
2525
entry-points."pipx.run".empty-project = "empty_project.main:cli"

tests/test_package_specifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,6 @@ def test_parse_specifier_for_install(
272272
root,
273273
):
274274
monkeypatch.chdir(root)
275-
[package_or_url_out, pip_args_out] = parse_specifier_for_install(package_spec_in, pip_args_in)
275+
[_package_or_url_out, _pip_args_out] = parse_specifier_for_install(package_spec_in, pip_args_in)
276276
if warning_str is not None:
277277
assert warning_str in caplog.text

0 commit comments

Comments
 (0)