diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 1bbadb0..e6a62c4 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -52,7 +52,7 @@ jobs: with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. + # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..9d083e0 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,24 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v6.0.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-added-large-files +- repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.14.6 + hooks: + - id: ruff-check + # - id: ruff-format +- repo: https://github.com/astral-sh/uv-pre-commit + rev: 0.9.13 + hooks: + - id: uv-lock +- repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.35.0 + hooks: + - id: check-github-workflows + - id: check-renovate diff --git a/README.rst b/README.rst index d5603dd..1f9620d 100644 --- a/README.rst +++ b/README.rst @@ -168,7 +168,7 @@ gets a non-falsey result could be defined like like this: def poll_for_message(queue): return queue.get() -The jitter is disabled in order to keep the polling frequency fixed. +The jitter is disabled in order to keep the polling frequency fixed. @backoff.runtime ---------------- diff --git a/renovate.json b/renovate.json index d19dfc9..aa836fe 100644 --- a/renovate.json +++ b/renovate.json @@ -4,7 +4,7 @@ "config:recommended" ], "timezone": "America/Mexico_City", - "lockfileMaintenance": { + "lockFileMaintenance": { "enabled": true, "schedule": ["* 12-18 * * 5"] },