Skip to content

Commit

Permalink
downgrade various libraries used by pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
garethgreenaway committed Aug 2, 2023
1 parent 3d61bca commit 1893175
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ repos:
args: [--silent, -E, fix_docstrings]

- repo: https://github.com/asottile/pyupgrade
rev: v2.37.2
rev: v2.31.0
hooks:
- id: pyupgrade
name: Rewrite Code to be Py3.6+
Expand All @@ -75,7 +75,7 @@ repos:
exclude: src/saltext/saltext_apache/version.py

- repo: https://github.com/psf/black
rev: 22.6.0
rev: 21.7b0
hooks:
- id: black
args: [-l 100]
Expand All @@ -84,13 +84,13 @@ repos:
- click<8.1.0

- repo: https://github.com/asottile/blacken-docs
rev: v1.12.1
rev: v1.10.0
hooks:
- id: blacken-docs
args: [--skip-errors]
files: ^(docs/.*\.rst|src/saltext/saltext_apache/.*\.py)$
additional_dependencies:
- black==22.6.0
- black==21.7b0
- click<8.1.0
# <---- Formatting -----------------------------------------------------------------------------

Expand All @@ -114,17 +114,17 @@ repos:
# <---- Security -------------------------------------------------------------------------------

# ----- Code Analysis ------------------------------------------------------------------------->
- repo: https://github.com/saltstack/mirrors-nox
rev: v2021.6.12
hooks:
- id: nox
alias: lint-src
name: Lint Source Code
files: ^((setup|noxfile)|src/.*)\.py$
args:
- -e
- lint-code-pre-commit
- --
# - repo: https://github.com/saltstack/mirrors-nox
# rev: v2021.6.12
# hooks:
# - id: nox
# alias: lint-src
# name: Lint Source Code
# files: ^((setup|noxfile)|src/.*)\.py$
# args:
# - -e
# - lint-code-pre-commit
# - --

- repo: https://github.com/saltstack/mirrors-nox
rev: v2021.6.12
Expand Down

0 comments on commit 1893175

Please sign in to comment.