Update linters

This commit is contained in:
Tulir Asokan 2025-01-30 14:08:04 +02:00
parent a8f1340125
commit f62b0335dd
3 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-python@v3 - uses: actions/setup-python@v3
with: with:
python-version: "3.10" python-version: "3.13"
- uses: isort/isort-action@master - uses: isort/isort-action@master
with: with:
sortPaths: "./rss" sortPaths: "./rss"

View File

@ -1,6 +1,6 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0 rev: v5.0.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
exclude_types: [markdown] exclude_types: [markdown]
@ -8,13 +8,13 @@ repos:
- id: check-yaml - id: check-yaml
- id: check-added-large-files - id: check-added-large-files
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.3.0 rev: 25.1.0
hooks: hooks:
- id: black - id: black
language_version: python3 language_version: python3
files: ^rss/.*\.pyi?$ files: ^rss/.*\.pyi?$
- repo: https://github.com/PyCQA/isort - repo: https://github.com/PyCQA/isort
rev: 5.10.1 rev: 6.0.0
hooks: hooks:
- id: isort - id: isort
files: ^rss/.*\.pyi?$ files: ^rss/.*\.pyi?$

View File

@ -8,4 +8,4 @@ line_length = 99
[tool.black] [tool.black]
line-length = 99 line-length = 99
target-version = ["py38"] target-version = ["py310"]