Skip to content

Commit

Permalink
Fix isort pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
mildbyte committed Dec 28, 2021
1 parent 614f647 commit 846e83b
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,15 @@ repos:
- types-PyYAML
exclude: "^(examples|test|docs)/"

- repo: https://github.com/pycqa/isort
rev: 5.10.1
- repo: local
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
name: isort
entry: isort
require_serial: true
language: python
language_version: python3
types_or: [cython, pyi, python]
args: ['--filter-files']
minimum_pre_commit_version: '2.9.2'
additional_dependencies: ['isort==5.10.1']

0 comments on commit 846e83b

Please sign in to comment.