Skip to content

Commit

Permalink
CI: Update Pre-commit Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
yezz123 committed Nov 19, 2021
1 parent 5fb80d5 commit e5ceb83
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
default_language_version:
python: python3.9
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
rev: v4.0.1
hooks:
- id: check-merge-conflict
- id: check-added-large-files
- id: check-ast
- id: check-symlinks
- id: check-yaml
- id: trailing-whitespace
- id: check-json
- id: debug-statements
- id: pretty-format-json
args: ["--autofix", "--allow-missing-credentials"]
- repo: https://github.com/PyCQA/isort
rev: 5.6.4
rev: 5.10.1
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://gitlab.com/pycqa/flake8
rev: "8f9b4931b9a28896fb43edccb23016a7540f5b82"
rev: 4.0.1
hooks:
- id: flake8
additional_dependencies: [flake8-print]
files: '\.py$'
exclude: docs/
args:
- --select=F403,F406,F821,T003
- repo: https://github.com/humitos/mirrors-autoflake
Expand All @@ -35,7 +33,7 @@ repos:
exclude: '^\..*'
args: ["--in-place"]
- repo: https://github.com/psf/black
rev: 19.10b0
rev: 21.7b0
hooks:
- id: black
args: ["--target-version", "py38"]

0 comments on commit e5ceb83

Please sign in to comment.