Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
  • Loading branch information
gaborbernat committed May 2, 2020
1 parent b3e6fa4 commit 2599ea9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ repos:
args: [--safe]
language_version: python3.8
- repo: https://github.com/asottile/blacken-docs
rev: v1.3.0
rev: v1.6.0
hooks:
- id: blacken-docs
additional_dependencies: [black==19.3b0]
additional_dependencies: [black==19.10b0]
language_version: python3.8
- repo: https://github.com/asottile/seed-isort-config
rev: v1.9.3
rev: v2.1.1
hooks:
- id: seed-isort-config
args: [--application-directories, "src:."]
Expand All @@ -25,21 +25,21 @@ repos:
hooks:
- id: isort
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
rev: v2.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: debug-statements
- id: flake8
additional_dependencies: ["flake8-bugbear == 19.8.0"]
additional_dependencies: ["flake8-bugbear == 20.1.4"]
language_version: python3.8
- repo: https://github.com/asottile/pyupgrade
rev: v1.25.1
rev: v2.3.0
hooks:
- id: pyupgrade
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.4.2
rev: v1.5.1
hooks:
- id: rst-backticks
- repo: local
Expand Down
2 changes: 1 addition & 1 deletion docs/changelog/1423.bugfix.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Respect attempts to change `PATH` via `setenv`. - by :user:`aklajnert`
Respect attempts to change ``PATH`` via ``setenv`` - by :user:`aklajnert`.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ passenv =
PROGRAMDATA
PRE_COMMIT_HOME
extras = lint
deps = pre-commit >= 1.14.4, < 2
deps = pre-commit>=2, <3
skip_install = True
commands = pre-commit run --all-files --show-diff-on-failure {posargs}
python -c 'import pathlib; print("hint: run \{\} install to add checks as pre-commit hook".format(pathlib.Path(r"{envdir}") / "bin" / "pre-commit"))'
Expand Down

0 comments on commit 2599ea9

Please sign in to comment.