Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
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
5 changes: 2 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ repos:
- id: black
args: [--target-version=py38]
- repo: https://github.com/PyCQA/isort
rev: 6.1.0
rev: 7.0.0
hooks:
- id: isort
- repo: https://github.com/asottile/pyupgrade
rev: v3.20.0
rev: v3.21.0
hooks:
- id: pyupgrade
args: [--py38-plus]
Expand All @@ -35,7 +35,6 @@ repos:
- build==1.0.0
- pyproject_hooks==1.0.0
- pytest==7.4.2
language_version: python3.9
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was failing as follows:

build attempt 1...
    => error
    [INFO] Installing environment for https://github.com/pre-commit/mirrors-mypy.
    [INFO] Once installed this environment will be reused.
    [INFO] This may take a few minutes...
    An unexpected error has occurred: CalledProcessError: command: ('/venv/bin/python3', '-mvirtualenv', '/pc/clone/pNrNFJ40Q021oYF5UffdqA/py_env-python3.9', '-p', 'python3.9')
    return code: 1
    stdout:
        RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.9'
    stderr: (none)
    Check the log at /pc/pre-commit.log
build attempt 2...
    => error
    [INFO] Installing environment for https://github.com/pre-commit/mirrors-mypy.
    [INFO] Once installed this environment will be reused.
    [INFO] This may take a few minutes...
    An unexpected error has occurred: CalledProcessError: command: ('/venv/bin/python3', '-mvirtualenv', '/pc/clone/pNrNFJ40Q021oYF5UffdqA/py_env-python3.9', '-p', 'python3.9')
    return code: 1
    stdout:
        RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.9'
    stderr: (none)
    Check the log at /pc/pre-commit.log

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sirosen FYI ^

- repo: https://github.com/PyCQA/bandit
rev: 1.8.6
hooks:
Expand Down
Loading