thoth-station / mi

an experiment on Source Operation Metrics
GNU General Public License v3.0
6 stars 10 forks source link

Update pre-commit configuration #616

Closed codificat closed 1 year ago

codificat commented 1 year ago

Related Issues and Dependencies

As an example, #615 is currently failing pre-commit tests.

This introduces a breaking change

This should yield a new module release

This Pull Request implements

Update pre-commit configuration:

Description

The gitlab location for flake8 stopped working a while ago, and current pre-commit jobs are failing with:

[INFO] Initializing environment for https://gitlab.com/PyCQA/flake8.
An unexpected error has occurred: CalledProcessError: command: ('/usr/bin/git', 'fetch', 'origin', '--tags')
return code: 128
expected return code: 0
stdout: (none)
stderr:
    fatal: could not read Username for 'https://gitlab.com': No such device or address

Check the log at /opt/app-root/src/.cache/pre-commit/pre-commit.log
{"component":"entrypoint","error":"wrapped process failed: exit status 3","file":"k8s.io/test-infra/prow/entrypoint/run.go:79","func":"k8s.io/test-infra/prow/entrypoint.Options.Run","level":"error","msg":"Error executing test process","severity":"error","time":"2022-12-14T12:09:54Z"}
codificat commented 1 year ago

going to self- /approve that one to unlock CI

sesheta commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: codificat

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/thoth-station/mi/blob/master/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment