diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b0095e4..ed3f5dc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,15 +1,15 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v6.0.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace -- repo: https://github.com/psf/black - rev: '24.2.0' +- repo: https://github.com/psf/black-pre-commit-mirror + rev: '26.3.1' hooks: - id: black - repo: https://github.com/pycqa/flake8 - rev: '7.0.0' # pick a git hash / tag to point to + rev: '7.3.0' # pick a git hash / tag to point to hooks: - id: flake8 diff --git a/process-pull-request b/process-pull-request index e0594ed..e2a2a7f 100755 --- a/process-pull-request +++ b/process-pull-request @@ -2,6 +2,7 @@ """ Process a PR given a repository and PR id number. """ + import os import argparse from socket import setdefaulttimeout diff --git a/upload-job-logfiles b/upload-job-logfiles index 19f7bee..0050cf1 100755 --- a/upload-job-logfiles +++ b/upload-job-logfiles @@ -2,6 +2,7 @@ """ Upload logfiles to Gist """ + import sys import os from socket import setdefaulttimeout