mirror of
https://github.com/maubot/rss.git
synced 2025-02-02 19:34:48 -05:00
Update linters
This commit is contained in:
parent
a8f1340125
commit
f62b0335dd
2
.github/workflows/python-lint.yml
vendored
2
.github/workflows/python-lint.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: "3.10"
|
||||
python-version: "3.13"
|
||||
- uses: isort/isort-action@master
|
||||
with:
|
||||
sortPaths: "./rss"
|
||||
|
@ -1,6 +1,6 @@
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.1.0
|
||||
rev: v5.0.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
exclude_types: [markdown]
|
||||
@ -8,13 +8,13 @@ repos:
|
||||
- id: check-yaml
|
||||
- id: check-added-large-files
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 22.3.0
|
||||
rev: 25.1.0
|
||||
hooks:
|
||||
- id: black
|
||||
language_version: python3
|
||||
files: ^rss/.*\.pyi?$
|
||||
- repo: https://github.com/PyCQA/isort
|
||||
rev: 5.10.1
|
||||
rev: 6.0.0
|
||||
hooks:
|
||||
- id: isort
|
||||
files: ^rss/.*\.pyi?$
|
||||
|
@ -8,4 +8,4 @@ line_length = 99
|
||||
|
||||
[tool.black]
|
||||
line-length = 99
|
||||
target-version = ["py38"]
|
||||
target-version = ["py310"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user