From e9058d22d642c9331701d86dac92b0ccaa6b18c2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 17:37:57 +0000 Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/eslint/eslint: 9bc0cc45b645bacb23e36e88c7b43c55f22d00d3 → 0bc75e8d85925c93a3cbf4891c2baad079c43c34](https://github.com/eslint/eslint/compare/9bc0cc45b645bacb23e36e88c7b43c55f22d00d3...0bc75e8d85925c93a3cbf4891c2baad079c43c34) - [github.com/thibaudcolas/pre-commit-stylelint: 8b94b3ea55a821d67fa8a86c898b7874bfebc47d → 4ed192c3fb468ed5d36e93b594fbfe4490aa8c31](https://github.com/thibaudcolas/pre-commit-stylelint/compare/8b94b3ea55a821d67fa8a86c898b7874bfebc47d...4ed192c3fb468ed5d36e93b594fbfe4490aa8c31) - [github.com/psf/black-pre-commit-mirror: fa505ab9c3e0fedafe1709fd7ac2b5f8996c670d → 4160603246a6b365d4a2af661c6d71b0a0f50478](https://github.com/psf/black-pre-commit-mirror/compare/fa505ab9c3e0fedafe1709fd7ac2b5f8996c670d...4160603246a6b365d4a2af661c6d71b0a0f50478) - [github.com/tox-dev/pyproject-fmt: 91de51aef61c5f2383f03da25604e3d65a8309e0 → 3a8ef795727fa946dfcb21c5d07b1442c2362c09](https://github.com/tox-dev/pyproject-fmt/compare/91de51aef61c5f2383f03da25604e3d65a8309e0...3a8ef795727fa946dfcb21c5d07b1442c2362c09) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b8aaef09..6cb6a3fa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -121,7 +121,7 @@ repos: description: Ensure that files end with a newline. - repo: https://github.com/eslint/eslint - rev: 9bc0cc45b645bacb23e36e88c7b43c55f22d00d3 # frozen: v10.3.0 + rev: 0bc75e8d85925c93a3cbf4891c2baad079c43c34 # frozen: v10.4.1 hooks: - id: eslint name: ESLint @@ -133,7 +133,7 @@ repos: - globals@17.6.0 # https://github.com/sindresorhus/globals/releases/latest - repo: https://github.com/thibaudcolas/pre-commit-stylelint - rev: 8b94b3ea55a821d67fa8a86c898b7874bfebc47d # frozen: v17.10.0 + rev: 4ed192c3fb468ed5d36e93b594fbfe4490aa8c31 # frozen: v17.12.0 hooks: - id: stylelint name: Stylelint @@ -227,7 +227,7 @@ repos: description: Check for black disable comments. - repo: https://github.com/psf/black-pre-commit-mirror - rev: fa505ab9c3e0fedafe1709fd7ac2b5f8996c670d # frozen: 26.3.1 + rev: 4160603246a6b365d4a2af661c6d71b0a0f50478 # frozen: 26.5.1 hooks: - id: black name: Black @@ -266,7 +266,7 @@ repos: description: Format the tox.ini file. - repo: https://github.com/tox-dev/pyproject-fmt - rev: 91de51aef61c5f2383f03da25604e3d65a8309e0 # frozen: v2.21.1 + rev: 3a8ef795727fa946dfcb21c5d07b1442c2362c09 # frozen: v2.23.0 hooks: - id: pyproject-fmt name: pyproject.toml formatter From 443b559b9ac6ed97a95e3d3cd3ade007aea6e152 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 17:41:51 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index dc8aa228..6e3fb1e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,8 +59,8 @@ 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] +version.path = "sovtimer/__init__.py" +metadata.allow-direct-references = true build.include = [ "/sovtimer", ] -metadata.allow-direct-references = true -version.path = "sovtimer/__init__.py" From 7ea3e3d2e62a828357d57ca3b890db4ec7135d28 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Tue, 2 Jun 2026 17:14:59 +0200 Subject: [PATCH 3/3] [MISC] Additional dependencies updated --- .pre-commit-config.yaml | 10 +++++----- .stylelintrc.json | 27 ++++++++++++++++++++++----- 2 files changed, 27 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6cb6a3fa..5b28f478 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -68,7 +68,7 @@ repos: name: Check for large files description: Check for large files that were added to the repository. args: - - --maxkb=100000 + - --maxkb=1000 - id: detect-private-key name: Detect private key @@ -129,7 +129,7 @@ repos: language: node additional_dependencies: # eslint itself needs to be here when using additional_dependencies. - - eslint@10.3.0 # https://github.com/eslint/eslint/releases/latest + - eslint@10.4.1 # https://github.com/eslint/eslint/releases/latest - globals@17.6.0 # https://github.com/sindresorhus/globals/releases/latest - repo: https://github.com/thibaudcolas/pre-commit-stylelint @@ -143,7 +143,7 @@ repos: - --formatter=compact additional_dependencies: # stylelint itself needs to be here when using additional_dependencies. - - stylelint@17.10.0 # https://github.com/stylelint/stylelint/releases/latest + - stylelint@17.12.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 @@ -242,7 +242,7 @@ repos: name: Blacken docs description: Format Python code in documentation files. additional_dependencies: - - black==26.3.1 # https://github.com/psf/black/releases/latest + - black==26.5.1 # https://github.com/psf/black/releases/latest args: - --target-version=py310 # Minimum required Python version for AA. Update as needed. @@ -274,7 +274,7 @@ repos: args: - --indent=4 additional_dependencies: - - tox==4.53.1 # https://github.com/tox-dev/tox/releases/latest + - tox==4.55.0 # https://github.com/tox-dev/tox/releases/latest - repo: https://github.com/abravalheri/validate-pyproject rev: 4b2e70d08cb2ccd26d1fba73588de41c7a5d50b7 # frozen: v0.25 diff --git a/.stylelintrc.json b/.stylelintrc.json index 80ea591b..04174fd2 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -11,21 +11,38 @@ ], "ignore": [ "after-comment" - ] + ], + "message": "Expected an empty line before at-rule" + } + ], + "number-max-precision": [ + 5, + { + "message": "Expected number to have a maximum of 5 decimal places" } ], - "number-max-precision": 5, "no-descending-specificity": null, "media-feature-range-notation": "prefix", - "selector-class-pattern": "_?[a-z0-9]+(-[a-z0-9]+)*$", - "selector-id-pattern": "_?[a-z0-9]+(-[a-z0-9]+)*$", + "selector-class-pattern": [ + "_?[a-z0-9]+(-[a-z0-9]+)*$", + { + "message": "Expected class selector to be kebab-case" + } + ], + "selector-id-pattern": [ + "_?[a-z0-9]+(-[a-z0-9]+)*$", + { + "message": "Expected id selector to be kebab-case" + } + ], "selector-type-case": [ "lower", { "ignoreTypes": [ "/regex/", "non-regex" - ] + ], + "message": "Expected type selector to be lowercase" } ] }