Skip to content

Commit

Permalink
fix: change flake8 instance to always run in the poetry venv in pre-c…
Browse files Browse the repository at this point in the history
…ommit

fixes problem of not being in the venv when running git commit
  • Loading branch information
onerandomusername committed Sep 6, 2021
1 parent 0ed105f commit 578ea47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ repos:
- id: flake8
name: flake8
description: '`flake8` is a command-line utility for enforcing style consistency across Python projects.'
entry: flake8
entry: poetry run flake8
language: python
types: [python]
require_serial: true

0 comments on commit 578ea47

Please sign in to comment.