Skip to content

Commit

Permalink
upgrade isort, clean up flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Oct 11, 2020
1 parent a1e5304 commit 44da1aa
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,24 @@ repos:
- id: flake8
additional_dependencies: [flake8-comprehensions>=3.1.0]
- id: flake8
name: flake8-pyx
files: \.(pyx|pxd)$
types:
- file
name: flake8 (cython)
types: [cython]
args: [--append-config=flake8/cython.cfg]
- id: flake8
name: flake8-pxd
name: flake8 (cython template)
files: \.pxi\.in$
types:
- file
args: [--append-config=flake8/cython-template.cfg]
- repo: https://github.com/PyCQA/isort
rev: 5.6.0
rev: 5.6.3
hooks:
- id: isort
exclude: ^pandas/__init__\.py$|^pandas/core/api\.py$
files: '.pxd$|.py$'
types: [file]
name: isort (python)
types: [python]
- id: isort
name: isort (cython)
types: [cython]
- repo: https://github.com/asottile/pyupgrade
rev: v2.7.2
hooks:
Expand Down

0 comments on commit 44da1aa

Please sign in to comment.