Skip to content

Commit

Permalink
Let pre-commit use versions specified in poetry.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
kiudee committed Apr 2, 2022
1 parent 4239c42 commit f11bde7
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
repos:
- repo: https://github.com/psf/black
rev: 19.10b0
- repo: local
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
hooks:
name: black
entry: black
language: system
types: [python]
require_serial: true
- id: isort
name: isort
entry: isort
language: system
types: [python]
- id: flake8
additional_dependencies: [flake8-bugbear]
- repo: https://github.com/timothycrosley/isort
rev: 5.3.0
hooks:
- id: isort
name: flake8
entry: flake8
language: system
types: [python]
require_serial: true

0 comments on commit f11bde7

Please sign in to comment.