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

[pre-commit.ci] pre-commit autoupdate #7

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions .github/scripts/set_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Update the version file."""

import os
import sys

Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ repos:
# hooks:
# - id: remove-crlf
- repo: https://github.com/psf/black
rev: 22.12.0
rev: 25.1.0
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: check-ast # Check whether files parse as valid python
Expand All @@ -18,12 +18,12 @@ repos:
- id: check-case-conflict
- id: detect-private-key
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.19.1
hooks:
- id: pyupgrade
args: [ --py37-plus ]
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 7.1.1
hooks:
- id: flake8
# - repo: local
Expand Down
1 change: 1 addition & 0 deletions pre_commit_hooks/gitlab_ci_lint.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Run gitlab's lint api on yaml files"""

from __future__ import annotations

import argparse
Expand Down
1 change: 1 addition & 0 deletions pre_commit_hooks/gitlab_script_check.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Run shellcheck on script elements"""

from __future__ import annotations

import argparse
Expand Down
1 change: 1 addition & 0 deletions pre_commit_hooks/shared/debug_mode.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Enable debugging mode for tracing http requests"""

from __future__ import annotations
import logging
import http.client as http_client
Expand Down
1 change: 1 addition & 0 deletions pre_commit_hooks/shared/importer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Helper file to import gitlab yaml files"""

from __future__ import annotations
import os
import sys
Expand Down
Loading