Skip to content

Commit

Permalink
pre-commit autoupdate, show diff on failure, and force colour on GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jun 23, 2020
1 parent 158273e commit e188e78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.4.4
rev: v2.6.1
hooks:
- id: pyupgrade
args: ["--py3-plus"]
Expand All @@ -15,13 +15,13 @@ repos:
types: []

- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.2
rev: 3.8.3
hooks:
- id: flake8
additional_dependencies: [flake8-2020, flake8-implicit-str-concat]

- repo: https://github.com/asottile/seed-isort-config
rev: v2.1.1
rev: v2.2.0
hooks:
- id: seed-isort-config

Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ commands = {posargs}

[testenv:lint]
deps = pre-commit
commands = pre-commit run --all-files
commands = pre-commit run --all-files --show-diff-on-failure
skip_install = true
passenv = PRE_COMMIT_COLOR

0 comments on commit e188e78

Please sign in to comment.