Skip to content

Commit 7f1ab8c

Browse files
[pre-commit.ci] pre-commit autoupdate (#118)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent cf29157 commit 7f1ab8c

2 files changed

Lines changed: 23 additions & 10 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repos:
55
- id: end-of-file-fixer
66
- id: trailing-whitespace
77
- repo: https://github.com/python-jsonschema/check-jsonschema
8-
rev: 0.28.2
8+
rev: 0.28.3
99
hooks:
1010
- id: check-github-workflows
1111
args: [ "--verbose" ]
@@ -20,12 +20,12 @@ repos:
2020
- id: tox-ini-fmt
2121
args: ["-p", "fix"]
2222
- repo: https://github.com/tox-dev/pyproject-fmt
23-
rev: "1.8.0"
23+
rev: "2.0.3"
2424
hooks:
2525
- id: pyproject-fmt
2626
additional_dependencies: ["tox>=4.13"]
2727
- repo: https://github.com/astral-sh/ruff-pre-commit
28-
rev: "v0.4.2"
28+
rev: "v0.4.4"
2929
hooks:
3030
- id: ruff-format
3131
- id: ruff

pyproject.toml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,12 @@ keywords = [
1717
"virtual",
1818
]
1919
license = "MIT"
20-
maintainers = [{ name = "Bernát Gábor", email = "gaborjbernat@gmail.com" }]
21-
authors = [{ name = "Bernát Gábor", email = "gaborjbernat@gmail.com" }]
20+
maintainers = [
21+
{ name = "Bernát Gábor", email = "gaborjbernat@gmail.com" },
22+
]
23+
authors = [
24+
{ name = "Bernát Gábor", email = "gaborjbernat@gmail.com" },
25+
]
2226
requires-python = ">=3.8"
2327
classifiers = [
2428
"Development Status :: 5 - Production/Stable",
@@ -44,7 +48,7 @@ dynamic = [
4448
dependencies = [
4549
"devpi-client>=7.0.2",
4650
"devpi-server>=6.10",
47-
'typing-extensions>=4.9; python_version < "3.11"',
51+
"typing-extensions>=4.9; python_version<'3.11'",
4852
]
4953
optional-dependencies.test = [
5054
"covdefaults>=2.3",
@@ -66,8 +70,14 @@ line-length = 120
6670
[tool.ruff]
6771
line-length = 120
6872
target-version = "py38"
69-
lint.isort = { known-first-party = ["devpi_process"], required-imports = ["from __future__ import annotations"] }
70-
lint.select = ["ALL"]
73+
lint.isort = { known-first-party = [
74+
"devpi_process",
75+
], required-imports = [
76+
"from __future__ import annotations",
77+
] }
78+
lint.select = [
79+
"ALL",
80+
]
7181
lint.ignore = [
7282
"ANN101", # no type annotation for self
7383
"ANN401", # allow Any as type annotation
@@ -109,9 +119,12 @@ paths.source = [
109119
"*\\src",
110120
]
111121
report.fail_under = 98
112-
report.omit = []
122+
report.omit = [
123+
]
113124
run.parallel = true
114-
run.plugins = ["covdefaults"]
125+
run.plugins = [
126+
"covdefaults",
127+
]
115128

116129
[tool.mypy]
117130
python_version = "3.11"

0 commit comments

Comments
 (0)