Skip to content

Commit

Permalink
Revert pre commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
wagnerlmichael committed Apr 29, 2024
1 parent 10f1827 commit 40759a9
Showing 1 changed file with 32 additions and 26 deletions.
58 changes: 32 additions & 26 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,37 @@
repos:
- repo: https://github.com/psf/black
rev: 23.7.0
- repo: local
hooks:
- id: black
language_version: python3
types: [python]
files: '^(assesspy/|tests/)'

- repo: https://github.com/pycqa/isort
rev: 5.11.0
hooks:
- id: isort
args:
- '--line-length=110'
- '--multi-line=3'
- '--force-grid-wrap=0'
- '--trailing-comma'
- '--use-parentheses'
- '--ensure-newline-before-comments'
types: [python]
- id: black
name: black
entry: black
language: system
types: [ python ]
files: ^(assesspy/|tests/)

- id: isort
name: isort
entry: isort
language: system
types: [ python ]
exclude: '.*/migrations/.*'
args: [
'--line-length=110',
'--multi-line=3',
'--force-grid-wrap=0',
'--trailing-comma',
'--use-parentheses',
'--ensure-newline-before-comments',
]

- repo: https://github.com/pycqa/flake8
rev: 5.0.0
hooks:
- id: flake8
args:
- '--per-file-ignores=assesspy/*:E501 assesspy/__init__.py:F401'
types: [python]
files: '^(assesspy/|tests/)'
- id: flake8
name: flake8
entry: flake8
language: system
types: [ python ]
files: ^(assesspy/|tests/)
args: [
'--per-file-ignores=
assesspy/*:E501
assesspy/__init__.py:F401'
]

0 comments on commit 40759a9

Please sign in to comment.