Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: pre-commit.ci autoupdate #117

Merged
merged 5 commits into from
May 3, 2024
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
16 changes: 9 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ repos:

# Shell
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.9.0.6
rev: v0.10.0.1
hooks:
- id: shellcheck
- repo: https://github.com/scop/pre-commit-shfmt
Expand All @@ -166,7 +166,7 @@ repos:

# Python
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.2
rev: v0.3.5
hooks:
# Run the linter.
- id: ruff
Expand All @@ -185,6 +185,7 @@ repos:
- --remove-import=from typing import Set
- --remove-import=from typing import Tuple
files: ^(?!setup.py$).*\.py$
stages: [manual] # prevent whitespace battle with ruff --format (Black)
- repo: https://github.com/PyCQA/prospector
rev: v1.10.3
hooks:
Expand All @@ -201,13 +202,13 @@ repos:
# - --tool=pylint # comment out if you get "pylint: astroid-error ..."
- --tool=dodgy
- repo: https://github.com/PyCQA/bandit
rev: 1.7.7
rev: 1.7.8
hooks:
- id: bandit
args: [-c, pyproject.toml]
additional_dependencies: ['bandit[toml]']
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
rev: v1.9.0
hooks:
- id: mypy
- repo: https://github.com/pre-commit/pygrep-hooks
Expand All @@ -228,13 +229,13 @@ repos:
hooks:
- id: dead
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.2
rev: v0.3.5
hooks:
# Run the formatter.
- id: ruff-format
- repo: https://github.com/python-poetry/poetry
# see https://python-poetry.org/docs/master/pre-commit-hooks/#faq
rev: 1.7.0
rev: 1.8.0
hooks:
- id: poetry-lock
- id: poetry-check
Expand Down Expand Up @@ -287,7 +288,7 @@ repos:
exclude: tests/

- repo: https://github.com/errata-ai/vale
rev: v3.1.0
rev: v3.3.1
hooks:
- id: vale
exclude: LICENSE|humans\.txt|requirements.*|styles/
Expand Down Expand Up @@ -374,5 +375,6 @@ ci:
autoupdate_commit_msg: 'chore: pre-commit.ci autoupdate'
autoupdate_schedule: monthly
skip:
- gitlint-ci
- markdown-link-check
- poetry-lock
33 changes: 17 additions & 16 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions reliabot/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"""Maintain Dependabot configuration."""

from __future__ import annotations
1 change: 1 addition & 0 deletions reliabot/reliabot.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
>>> if os.path.islink("testdir") and os.readlink("testdir") == "../testdir/":
... _ = isdir(".git") or os.mkdir(".git")
"""

from __future__ import annotations

import os
Expand Down
1 change: 1 addition & 0 deletions tidy-md-refs.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
https://web.archive.org/web/20120920012828/http://www.leancrew.com/all-this/
WayBack machine archive link.
"""

from __future__ import annotations

import argparse
Expand Down