Skip to content

Commit

Permalink
pre-commit: Use flake8 from github
Browse files Browse the repository at this point in the history
Flake8 migrated from Gitlab to Github [1] and link on Gitlab doesn't
work anymore.

Also, hooks versions were updated.

[1] PyCQA/flake8#1305

Change-Id: Ibf07346cd9ad427165c0bc83f751f6f496664f0f
  • Loading branch information
Roman Kuznecov committed Feb 27, 2023
1 parent 6cbe6fd commit c5ea79f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
repos:
- repo: https://github.com/python/black
rev: 21.9b0
rev: 23.1.0
hooks:
- id: black
language_version: python3
args: [--line-length=100, --skip-string-normalization]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.4.0
hooks:
- id: check-executables-have-shebangs
- id: check-merge-conflict
Expand All @@ -17,26 +17,26 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/adrienverge/yamllint
rev: v1.26.3
rev: v1.29.0
hooks:
- id: yamllint
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
additional_dependencies:
- flake8-black
- repo: https://github.com/PyCQA/isort
rev: 5.9.3
rev: 5.12.0
hooks:
- id: isort
args: [--profile, black, --filter-files]
- repo: https://github.com/PyCQA/doc8
rev: 0.9.1
rev: v1.1.1
hooks:
- id: doc8
args: [--quiet, --max-line-length=100]
- repo: https://github.com/myint/rstcheck
rev: 3f92957478422df87bd730abde66f089cc1ee19b
rev: v6.1.1
hooks:
- id: rstcheck

0 comments on commit c5ea79f

Please sign in to comment.