-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MISC] Update pre-commit config to fix eslint dependency issues
- Loading branch information
Showing
1 changed file
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -123,7 +123,7 @@ repos: | |
) | ||
- repo: https://github.com/eslint/eslint | ||
rev: v9.9.1 | ||
rev: v9.12.0 | ||
hooks: | ||
- id: eslint | ||
name: ESLint | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|