Skip to content

Commit

Permalink
Merge pull request #73 from discord-modmail/fix-precommit
Browse files Browse the repository at this point in the history
fix: change flake8 instance to always run in the poetry venv in pre-commit
  • Loading branch information
onerandomusername authored Sep 10, 2021
2 parents 0ed105f + 578ea47 commit b5ab21f
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 b5ab21f

Please sign in to comment.