Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23131

pre-commit run --all-files An error has occurred: InvalidManifestError: while configure pytest

$
0
0

steps:

  1. I was installed -->
$ pre-commit installpre-commit installed at .git/hooks/pre-commit

2.create .pre-commit-config.yaml file then add configuration. this is my pytest configuration

- repo: https://github.com/pytest-dev/pytest    rev: 7.4.3     hooks:      - id: pytest

while run the pre-commit run --all-files i got error on pytest section

error:

[INFO] Initializing environment for https://github.com/pytest-dev/pytest.An error has occurred: InvalidManifestError: =====> /home/mutharasu/.cache/pre-commit/repofxmga3dy/.pre-commit-hooks.yaml is not a file

Check the log at /home/mutharasu/.cache/pre-commit/pre-commit.log

i want run successfully on that pre-commit run --all-files command


Viewing all articles
Browse latest Browse all 23131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>