mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-21 02:22:07 +08:00
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/hadialqattan/pycln: v2.0.4 → v2.1.1](https://github.com/hadialqattan/pycln/compare/v2.0.4...v2.1.1) - [github.com/pycqa/flake8: 4.0.1 → 5.0.2](https://github.com/pycqa/flake8/compare/4.0.1...5.0.2) * Update requirements-tests.txt * Update flake8-pyi and flake8-bugbear as well Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
33 lines
1016 B
YAML
33 lines
1016 B
YAML
repos:
|
|
- repo: https://github.com/hadialqattan/pycln
|
|
rev: v2.1.1 # must match requirements-tests.txt
|
|
hooks:
|
|
- id: pycln
|
|
args: [--all, stubs, stdlib, tests, scripts]
|
|
- repo: https://github.com/psf/black
|
|
rev: 22.6.0 # must match requirements-tests.txt
|
|
hooks:
|
|
- id: black
|
|
language_version: python3.9
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.10.1 # must match requirements-tests.txt
|
|
hooks:
|
|
- id: isort
|
|
name: isort (python)
|
|
- repo: https://github.com/pycqa/flake8
|
|
rev: 5.0.2 # must match requirements-tests.txt
|
|
hooks:
|
|
- id: flake8
|
|
additional_dependencies:
|
|
# must match requirements-tests.txt
|
|
- 'flake8-bugbear==22.7.1'
|
|
- 'flake8-pyi==22.8.1'
|
|
|
|
ci:
|
|
autofix_commit_msg: '[pre-commit.ci] auto fixes from pre-commit.com hooks'
|
|
autofix_prs: true
|
|
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
|
|
autoupdate_schedule: weekly
|
|
skip: [flake8]
|
|
submodules: false
|