mirror of
https://github.com/flibusta-apps/telegram_files_server.git
synced 2025-12-06 12:35:39 +01:00
Update pre-commit
This commit is contained in:
2
.github/workflows/linters.yaml
vendored
2
.github/workflows/linters.yaml
vendored
@@ -17,7 +17,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: 3.11
|
||||||
|
|
||||||
- name: Install pre-commit
|
- name: Install pre-commit
|
||||||
run: pip3 install pre-commit
|
run: pip3 install pre-commit
|
||||||
|
|||||||
@@ -2,19 +2,19 @@ exclude: 'docs|node_modules|migrations|.git|.tox'
|
|||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/ambv/black
|
- repo: https://github.com/ambv/black
|
||||||
rev: 22.6.0
|
rev: 22.12.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
language_version: python3.10
|
language_version: python3.11
|
||||||
- repo: https://github.com/pycqa/isort
|
- repo: https://github.com/pycqa/isort
|
||||||
rev: 5.10.1
|
rev: v5.11.3
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
- repo: https://github.com/csachs/pyproject-flake8
|
- repo: https://github.com/csachs/pyproject-flake8
|
||||||
rev: v0.0.1a4
|
rev: v6.0.0.post1
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyproject-flake8
|
- id: pyproject-flake8
|
||||||
additional_dependencies: [
|
additional_dependencies: [
|
||||||
'-e', 'git+https://github.com/pycqa/pyflakes@1911c20#egg=pyflakes',
|
'-e', 'git+https://github.com/pycqa/pyflakes@b37f91a#egg=pyflakes',
|
||||||
'-e', 'git+https://github.com/pycqa/pycodestyle@d219c68#egg=pycodestyle',
|
'-e', 'git+https://github.com/pycqa/pycodestyle@1063db8#egg=pycodestyle',
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user