You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pre-commit run --all-files
[INFO] Installing environment for https://github.com/jumanjihouse/pre-commit-hook-yamlfmt.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('/home/andrzej/.cache/pre-commit/repojun84su0/py_env-python3.8/bin/python', '-mpip', 'install', '.')
return code: 1
expected return code: 0
stdout:
Looking in indexes: <Obfuscated link>, https://pypi.org/simple
Processing /home/andrzej/.cache/pre-commit/repojun84su0
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
stderr:
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
error: Multiple top-level packages discovered in a flat-layout: ['assets', 'pre_commit_hooks'].
To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.
If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:
1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set`py_modules` or `packages` with a list of names
To find more information, look for"package discovery" on setuptools docs.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Check the log at /home/andrzej/.cache/pre-commit/pre-commit.log
Changing the ref from 0.1.0 to 0.1.1 solves the problem. I think both of tag should work. The problem appeared 5-6 hours ago on my CI
The text was updated successfully, but these errors were encountered:
Hello when I'm running
pre-commit run -a
with.pre-commit-config.yaml
:I got an error:
Changing the ref from 0.1.0 to 0.1.1 solves the problem. I think both of tag should work. The problem appeared 5-6 hours ago on my CI
The text was updated successfully, but these errors were encountered: