Skip to content

Commit d609085

Browse files
[pre-commit.ci] pre-commit autoupdate (#10928)
updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.5 → v0.15.6](astral-sh/ruff-pre-commit@v0.15.5...v0.15.6) - [github.com/psf/black-pre-commit-mirror: 26.3.0 → 26.3.1](psf/black-pre-commit-mirror@26.3.0...26.3.1) - [github.com/tox-dev/pyproject-fmt: v2.16.2 → v2.19.0](tox-dev/pyproject-fmt@v2.16.2...v2.19.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent aa47294 commit d609085

2 files changed

Lines changed: 22 additions & 23 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
doc/data/messages/m/missing-final-newline/bad/crlf.py
2121
)$
2222
- repo: https://github.com/astral-sh/ruff-pre-commit
23-
rev: "v0.15.5"
23+
rev: "v0.15.6"
2424
hooks:
2525
- id: ruff-check
2626
args: ["--fix"]
@@ -43,7 +43,7 @@ repos:
4343
- id: isort
4444
exclude: doc/data/messages/
4545
- repo: https://github.com/psf/black-pre-commit-mirror
46-
rev: 26.3.0
46+
rev: 26.3.1
4747
hooks:
4848
- id: black
4949
args: [--safe, --quiet]
@@ -165,7 +165,7 @@ repos:
165165
additional_dependencies:
166166
- tomli
167167
- repo: https://github.com/tox-dev/pyproject-fmt
168-
rev: "v2.16.2"
168+
rev: "v2.19.0"
169169
hooks:
170170
- id: pyproject-fmt
171171
- repo: https://github.com/abravalheri/validate-pyproject

pyproject.toml

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ urls."Bug Tracker" = "https://github.com/pylint-dev/pylint/issues"
5757
urls."Discord Server" = "https://discord.com/invite/Egy6P8AMB5"
5858
urls."Docs: Contributor Guide" = "https://pylint.readthedocs.io/en/latest/development_guide/contributor_guide/index.html"
5959
urls."Docs: User Guide" = "https://pylint.readthedocs.io/en/latest/"
60-
urls."homepage" = "https://github.com/pylint-dev/pylint"
6160
urls."Source Code" = "https://github.com/pylint-dev/pylint"
6261
urls."What's New" = "https://pylint.readthedocs.io/en/latest/whatsnew/4/"
62+
urls.homepage = "https://github.com/pylint-dev/pylint"
6363
scripts.pylint = "pylint:run_pylint"
6464
scripts.pylint-config = "pylint:_run_pylint_config"
6565
scripts.pyreverse = "pylint:run_pyreverse"
@@ -203,24 +203,6 @@ skip = """\
203203
[tool.pyproject-fmt]
204204
max_supported_python = "3.14"
205205

206-
[tool.pytest]
207-
ini_options.testpaths = [ "tests" ]
208-
ini_options.python_files = [ "*test_*.py" ]
209-
ini_options.addopts = "--strict-markers"
210-
ini_options.filterwarnings = [
211-
"error",
212-
# Added in Python 3.14
213-
"ignore:'break' in a 'finally' block:SyntaxWarning",
214-
"ignore:'return' in a 'finally' block:SyntaxWarning",
215-
"ignore:'continue' in a 'finally' block:SyntaxWarning",
216-
]
217-
ini_options.markers = [
218-
"primer_stdlib: Checks for crashes and errors when running pylint on stdlib",
219-
"benchmark: Baseline of pylint performance, if this regress something serious happened",
220-
"timeout: Marks from pytest-timeout.",
221-
"needs_two_cores: Checks that need 2 or more cores to be meaningful",
222-
]
223-
224206
[tool.mypy]
225207
scripts_are_modules = true
226208
warn_unused_ignores = true
@@ -253,7 +235,6 @@ module = [
253235
# [[tool.mypy.overrides]]
254236
# module = ["astroid.*"]
255237
# follow_untyped_imports = true
256-
257238
[tool.pyright]
258239
include = [
259240
"pylint",
@@ -271,5 +252,23 @@ reportGeneralTypeIssues = "none" # 1 issue
271252
reportCallIssue = "none" # 1 issue
272253
reportInvalidTypeVarUse = "none" # 2 warnings
273254

255+
[tool.pytest]
256+
ini_options.testpaths = [ "tests" ]
257+
ini_options.python_files = [ "*test_*.py" ]
258+
ini_options.addopts = "--strict-markers"
259+
ini_options.filterwarnings = [
260+
"error",
261+
# Added in Python 3.14
262+
"ignore:'break' in a 'finally' block:SyntaxWarning",
263+
"ignore:'return' in a 'finally' block:SyntaxWarning",
264+
"ignore:'continue' in a 'finally' block:SyntaxWarning",
265+
]
266+
ini_options.markers = [
267+
"primer_stdlib: Checks for crashes and errors when running pylint on stdlib",
268+
"benchmark: Baseline of pylint performance, if this regress something serious happened",
269+
"timeout: Marks from pytest-timeout.",
270+
"needs_two_cores: Checks that need 2 or more cores to be meaningful",
271+
]
272+
274273
[tool.aliases]
275274
test = "pytest"

0 commit comments

Comments
 (0)