Skip to content

Commit

Permalink
ci: Use '--pytest-test-first' option for naming clarity (#1892)
Browse files Browse the repository at this point in the history
* Update github.com/pre-commit/pre-commit-hooks: v4.2.0 → v4.3.0 to get `--pytest-test-first` option
for name-test-tests.
* Use `--pytest-test-first` option for name-test-tests for greater clarity of convention.
* Amends PR #1877.
  • Loading branch information
matthewfeickert committed Jun 22, 2022
1 parent 474c7e3 commit 2411ed3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
rev: v4.3.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand All @@ -20,7 +20,7 @@ repos:
exclude: ^validation/|\.dtd$|\.json$|\.xml$
- id: mixed-line-ending
- id: name-tests-test
args: ["--django"]
args: ["--pytest-test-first"]
- id: requirements-txt-fixer
- id: trailing-whitespace
# exclude generated files
Expand Down

0 comments on commit 2411ed3

Please sign in to comment.