Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Set the default language versions for the hooks
default_language_version:
python: python3 # Force all Python hooks to use Python 3
node: 22.13.1 # Force all Node hooks to use the latest Node LTS
node: 22.13.1 # Force all Node hooks to use this specific Node version

# https://pre-commit.ci/
ci:
Expand Down Expand Up @@ -130,10 +130,10 @@ repos:
additional_dependencies:
# eslint itself needs to be here when using additional_dependencies.
- eslint@9.39.2 # https://github.com/eslint/eslint/releases/latest
- globals@17.0.0 # https://github.com/sindresorhus/globals/releases/latest
- globals@17.3.0 # https://github.com/sindresorhus/globals/releases/latest

- repo: https://github.com/thibaudcolas/pre-commit-stylelint
rev: 5550a364f2b5d3a9e731a9f4e231c5dc8c5f2e5b # frozen: v16.26.1
rev: 05fae982df4a486b2a8e8f1d0e6ff6817f230957 # frozen: v17.1.0
hooks:
- id: stylelint
name: Stylelint
Expand All @@ -143,8 +143,8 @@ repos:
- --formatter=compact
additional_dependencies:
# stylelint itself needs to be here when using additional_dependencies.
- stylelint@16.26.1 # https://github.com/stylelint/stylelint/releases/latest
- stylelint-config-standard@39.0.1 # https://github.com/stylelint/stylelint-config-standard/releases/latest
- stylelint@17.1.0 # https://github.com/stylelint/stylelint/releases/latest
- stylelint-config-standard@40.0.0 # https://github.com/stylelint/stylelint-config-standard/releases/latest

- repo: https://github.com/pre-commit/pygrep-hooks
rev: 3a6eb0fadf60b3cccfd80bad9dbb6fae7e47b316 # frozen: v1.10.0
Expand Down Expand Up @@ -227,7 +227,7 @@ repos:
description: Check for black disable comments.

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 831207fd435b47aeffdf6af853097e64322b4d44 # frozen: 25.12.0
rev: ea488cebbfd88a5f50b8bd95d5c829d0bb76feb8 # frozen: 26.1.0
hooks:
- id: black
name: Black
Expand All @@ -242,7 +242,7 @@ repos:
name: Blacken docs
description: Format Python code in documentation files.
additional_dependencies:
- black==25.12.0 # https://github.com/psf/black/releases/latest
- black==26.1.0 # https://github.com/psf/black/releases/latest
args:
- --target-version=py310 # Minimum required Python version for AA. Update as needed.

Expand All @@ -266,15 +266,15 @@ repos:
description: Format the tox.ini file.

- repo: https://github.com/tox-dev/pyproject-fmt
rev: d252a2a7678b47d1f2eea2f6b846ddfdcd012759 # frozen: v2.11.1
rev: 2a892e1706c9e0e1f853be3f34a9e04f0d5c86d9 # frozen: v2.12.1
hooks:
- id: pyproject-fmt
name: pyproject.toml formatter
description: Format the pyproject.toml file.
args:
- --indent=4
additional_dependencies:
- tox==4.33.0 # https://github.com/tox-dev/tox/releases/latest
- tox==4.34.1 # https://github.com/tox-dev/tox/releases/latest

- repo: https://github.com/abravalheri/validate-pyproject
rev: 78f5e0f104cfa803d0597eaa924b4de3becd3e3e # frozen: v0.24.1
Expand All @@ -293,7 +293,7 @@ repos:
# - --py-version=3.10 # Minimum required Python version for AA. Update as needed.

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: b035497fb64e3f9faa91e833331688cc185891e6 # frozen: 0.36.0
rev: ccf21790019848af3eb4464be2a9d5efed6358f3 # frozen: 0.36.1
hooks:
- id: check-github-actions
name: Check GitHub Actions
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ dependencies = [
urls.Changelog = "https://github.com/ppfeufer/aa-example-plugin/blob/master/CHANGELOG.md"
urls.Tracker = "https://github.com/ppfeufer/aa-example-plugin/issues"

[tool.hatch.version]
path = "example/__init__.py"

[tool.hatch.build]
include = [
"/example",
]
[tool.hatch.version]
path = "example/__init__.py"
Loading