Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the pre-commit example working? #162

Open
RidaAyed opened this issue Nov 24, 2023 · 0 comments
Open

How to get the pre-commit example working? #162

RidaAyed opened this issue Nov 24, 2023 · 0 comments

Comments

@RidaAyed
Copy link

The documentation shows v4.0.0a1 which returns:

error: pathspec 'v4.0.0a1' did not match any file(s) known to git

Using 3.2.0 returns ModuleNotFoundError: No module named 'vistir.compat'

.pre-commit-config.yaml:

repos:
- repo: https://github.com/Madoshakalaka/pipenv-setup
  rev: "v3.2.0" # pick a git hash / tag to point to
  hooks:
    - id: pipenv-setup
      language: python
      entry: pipenv-setup
      language_version: python3
      files: Pipfile(\.lock)?|setup\.py

As recommended in #109 my Pipfile does not contain pipenv-setup but relies on pre-commit's auto-install
However I'm able to run pipenv-setup without pre-commit by installing it manually via pipenv and vistir = "0.6.1"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant