Skip to content

Commit

Permalink
Merge pull request jazzband#1612 from jazzband/pre-commit-ci-update-c…
Browse files Browse the repository at this point in the history
…onfig
  • Loading branch information
webknjaz committed Jul 25, 2022
2 parents 4ad8b02 + 83c83f5 commit eed2719
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 22.6.0
hooks:
- id: black
args: [--target-version=py36]
Expand All @@ -9,7 +9,7 @@ repos:
hooks:
- id: isort
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.1
rev: v2.37.2
hooks:
- id: pyupgrade
args: [--py37-plus]
Expand All @@ -20,7 +20,7 @@ repos:
additional_dependencies:
- flake8-pytest-style
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.942
rev: v0.971
hooks:
- id: mypy
# Avoid error: Duplicate module named 'setup'
Expand All @@ -39,6 +39,6 @@ repos:
args: [--ini, .bandit]
exclude: ^tests/
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.6.2
rev: v2.7.1
hooks:
- id: prettier
2 changes: 1 addition & 1 deletion piptools/subprocess_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def run_python_snippet(python_executable: str, code_to_run: str) -> str:
return subprocess.check_output( # nosec
py_exec_cmd,
shell=False,
universal_newlines=True,
text=True,
)

0 comments on commit eed2719

Please sign in to comment.