Code Monkey home page Code Monkey logo

Comments (9)

asottile avatar asottile commented on June 24, 2024 1

patches welcome!

from pre-commit.com.

asottile avatar asottile commented on June 24, 2024

that means they're already up to date and installed then (it's idempotent).

here's some output you might see if they weren't already installed:

$ pre-commit install --install-hooks
pre-commit installed at .git/hooks/pre-commit
[INFO] Initializing environment for https://gitlab.com/pycqa/flake8.
[INFO] Installing environment for https://gitlab.com/pycqa/flake8.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...

from pre-commit.com.

esciara avatar esciara commented on June 24, 2024

Thanks... can you clarify what you mean by "environment"? Is that the language?

from pre-commit.com.

esciara avatar esciara commented on June 24, 2024

or virtual environment?

from pre-commit.com.

asottile avatar asottile commented on June 24, 2024

It depends on the language, for python it's virtualenvs, for go it's a binary built from a temporary gopath. It's kind of intentionally ambiguous in the docs so it doesn't need to enumerate the many different types of installs that can occur.

from pre-commit.com.

esciara avatar esciara commented on June 24, 2024

OK. Need to have a look into it and maybe quickly update the doc...

from pre-commit.com.

rpdelaney avatar rpdelaney commented on June 24, 2024

@asottile

It's kind of intentionally ambiguous in the docs so it doesn't need to enumerate the many different types of installs that can occur.

Is that in the interest of saving space in the top-level documentation, or not having to maintain documentation of a moving target?

from pre-commit.com.

asottile avatar asottile commented on June 24, 2024

It's because it would be duplicated with the language-specific docs and prohibitively verbose and unnecessary to enumerate

from pre-commit.com.

rpdelaney avatar rpdelaney commented on June 24, 2024

Gotcha. Well, I understand the problem, but I'd gently suggest that directing the reader to the language specific docs would be better than intentional vagueness in this case.

from pre-commit.com.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.