pipenv-setup icon indicating copy to clipboard operation
pipenv-setup copied to clipboard

How to get the pre-commit example working?

Open RidaAyed opened this issue 7 months ago • 0 comments

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"

RidaAyed avatar Nov 24 '23 11:11 RidaAyed