Skip to content

Commit

Permalink
remove pipenv run (assume system install)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimidRobot committed Nov 8, 2021
1 parent c19896f commit a10e2cc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,41 +29,41 @@ repos:
hooks:
- id: black
name: "Black"
entry: pipenv run black --check
entry: black --check
language: system
types: ["file", "python", "text"]

- id: flake8
name: "Flake8"
entry: pipenv run flake8
entry: flake8
language: system
types: ["file", "python", "text"]

- id: isort
name: "isort"
entry: pipenv run isort --check --filter-files
entry: isort --check --filter-files
language: system
types: ["file", "python", "text"]

- id: missing-migrations
name: 'Missing migrations'
entry: pipenv run ./manage.py makemigrations --check
entry: ./manage.py makemigrations --check
language: system
types: ["file", "python", "text"]
pass_filenames: false

# This test fails if web server is not running
- id: coverage-test
name: 'Run Django tests'
entry: pipenv run coverage run manage.py test --noinput --keepdb
entry: coverage run manage.py test --noinput --keepdb
language: system
types: ["file", "python", "text"]
pass_filenames: false
require_serial: true

- id: coverage-report
name: 'Confirm test coverage'
entry: pipenv run coverage report
entry: coverage report
language: system
types: ["file", "python", "text"]
pass_filenames: false
Expand Down

0 comments on commit a10e2cc

Please sign in to comment.