Skip to content

Commit

Permalink
[MISC] Update pre-commit config to fix eslint dependency issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ppfeufer committed Oct 18, 2024
1 parent 01825d5 commit c3b8224
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ci:
# pre-commit setup
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
# Identify invalid files
- id: check-ast
Expand Down Expand Up @@ -123,7 +123,7 @@ repos:
)
- repo: https://github.com/eslint/eslint
rev: v9.9.1
rev: v9.12.0
hooks:
- id: eslint
name: ESLint
Expand All @@ -149,8 +149,8 @@ repos:
- --formatter=compact
additional_dependencies:
# stylelint itself needs to be here when using additional_dependencies.
- stylelint@16.5.0 # https://github.com/stylelint/stylelint/releases/latest
- [email protected].0 # https://github.com/stylelint/stylelint-config-standard/releases/latest
- stylelint@16.9.0 # https://github.com/stylelint/stylelint/releases/latest
- [email protected].1 # https://github.com/stylelint/stylelint-config-standard/releases/latest

- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
Expand Down Expand Up @@ -193,7 +193,7 @@ repos:
)
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.20.0
rev: 1.21.0
hooks:
- id: django-upgrade
name: Django upgrade
Expand All @@ -208,7 +208,7 @@ repos:
name: PyUpgrade
description: Upgrade syntax to newer versions of Python.
args:
- --py38-plus # Minimum required Python version for AA. Update as needed.
- --py310-plus # Minimum required Python version for AA. Update as needed.

- repo: https://github.com/pycqa/flake8
rev: 7.1.1
Expand Down Expand Up @@ -245,7 +245,7 @@ repos:
name: Black
description: Format Python code.
args:
- --target-version=py38 # Minimum required Python version for AA. Update as needed.
- --target-version=py310 # Minimum required Python version for AA. Update as needed.

- repo: https://github.com/asottile/blacken-docs
rev: 1.18.0
Expand All @@ -254,9 +254,9 @@ repos:
name: Blacken docs
description: Format Python code in documentation files.
additional_dependencies:
- black==24.4.2 # https://github.com/psf/black/releases/latest
- black==24.8.0 # https://github.com/psf/black/releases/latest
args:
- --target-version=py38 # Minimum required Python version for AA. Update as needed.
- --target-version=py310 # Minimum required Python version for AA. Update as needed.

- repo: https://github.com/executablebooks/mdformat
rev: 0.7.17
Expand All @@ -276,41 +276,41 @@ repos:
- mdformat-shfmt==0.1.0 # Mdformat plugin to format shell code blocks » https://github.com/hukkin/mdformat-shfmt/tags

- repo: https://github.com/tox-dev/tox-ini-fmt
rev: 1.3.1
rev: 1.4.1
hooks:
- id: tox-ini-fmt
name: tox.ini formatter
description: Format the tox.ini file.

- repo: https://github.com/tox-dev/pyproject-fmt
rev: 2.2.1
rev: 2.2.4
hooks:
- id: pyproject-fmt
name: pyproject.toml formatter
description: Format the pyproject.toml file.
args:
- --indent=4
additional_dependencies:
- tox==4.15.0 # https://github.com/tox-dev/tox/releases/latest
- tox==4.21.2 # https://github.com/tox-dev/tox/releases/latest

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.19
rev: v0.20.2
hooks:
- id: validate-pyproject
name: Validate pyproject.toml
description: Validate the pyproject.toml file.

- repo: https://github.com/pylint-dev/pylint
rev: v3.2.7
rev: v3.3.1
hooks:
- id: pylint
name: Pylint
description: Check for errors and code smells in Python code.
args:
- --py-version=3.8 # Minimum required Python version for AA. Update as needed.
- --py-version=3.10 # Minimum required Python version for AA. Update as needed.

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.2
rev: 0.29.3
hooks:
- id: check-github-actions
name: Check GitHub Actions
Expand Down

0 comments on commit c3b8224

Please sign in to comment.