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
26 changes: 13 additions & 13 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 this specific Node version
node: 24.11.1 # Force all Node hooks to use this specific Node version

# https://pre-commit.ci/
ci:
Expand Down Expand Up @@ -121,19 +121,19 @@ repos:
description: Ensure that files end with a newline.

- repo: https://github.com/eslint/eslint
rev: v9.39.2
rev: 2e350d6441ed9e7c5d599861514c2439b5b21b12 # frozen: v10.0.2
hooks:
- id: eslint
name: ESLint
description: Check for problems in JavaScript files.
language: node
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.3.0 # https://github.com/sindresorhus/globals/releases/latest
- eslint@10.0.2 # https://github.com/eslint/eslint/releases/latest
- globals@17.4.0 # https://github.com/sindresorhus/globals/releases/latest

- repo: https://github.com/thibaudcolas/pre-commit-stylelint
rev: 05fae982df4a486b2a8e8f1d0e6ff6817f230957 # frozen: v17.1.0
rev: 622d6a0c638b9cd333a6a9511bab8e82ee95f854 # frozen: v17.4.0
hooks:
- id: stylelint
name: Stylelint
Expand All @@ -143,7 +143,7 @@ repos:
- --formatter=compact
additional_dependencies:
# stylelint itself needs to be here when using additional_dependencies.
- stylelint@17.1.0 # https://github.com/stylelint/stylelint/releases/latest
- stylelint@17.4.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
Expand Down Expand Up @@ -181,7 +181,7 @@ repos:
description: Check for compliance with the definitions in the EditorConfig file.

- repo: https://github.com/adamchainz/django-upgrade
rev: 553731fe59437e0bd2cf18b10144116422bed259 # frozen: 1.29.1
rev: 4864562a5d05a7ff3bce99bc31f892eeb396fc00 # frozen: 1.30.0
hooks:
- id: django-upgrade
name: Django upgrade
Expand Down Expand Up @@ -213,7 +213,7 @@ repos:
description: Check for extraneous `# noqa` comments.

- repo: https://github.com/PyCQA/isort
rev: 0a09c783808cfe77bb3269250f663ff733d23302 # frozen: 7.0.0
rev: a333737ed43df02b18e6c95477ea1b285b3de15a # frozen: 8.0.1
hooks:
- id: isort
name: Isort
Expand Down Expand Up @@ -266,25 +266,25 @@ repos:
description: Format the tox.ini file.

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

- repo: https://github.com/abravalheri/validate-pyproject
rev: 78f5e0f104cfa803d0597eaa924b4de3becd3e3e # frozen: v0.24.1
rev: 4b2e70d08cb2ccd26d1fba73588de41c7a5d50b7 # frozen: v0.25
hooks:
- id: validate-pyproject
name: Validate pyproject.toml
description: Validate the pyproject.toml file.

- repo: https://github.com/pylint-dev/pylint
rev: e16f942166511d6fb4427e503a734152fae0c4fe # frozen: v4.0.4
rev: 88e1ab7545a4af4aea15c305a154c164a95ab842 # frozen: v4.0.5
hooks:
- id: pylint
name: Pylint
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: ccf21790019848af3eb4464be2a9d5efed6358f3 # frozen: 0.36.1
rev: 8db279a37c552206d2df62269ff6f9d31125815a # frozen: 0.37.0
hooks:
- id: check-github-actions
name: Check GitHub Actions
Expand Down
11 changes: 4 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,9 @@ urls.GitHub = "https://github.com/ppfeufer/aa-sov-timer"
urls.Tracker = "https://github.com/ppfeufer/aa-sov-timer/issues"
urls.Translation = "https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-sov-timer/"

[tool.hatch.build]
include = [
[tool.hatch]
build.include = [
"/sovtimer",
]

[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
path = "sovtimer/__init__.py"
metadata.allow-direct-references = true
version.path = "sovtimer/__init__.py"
Loading