Skip to content

Can't run pre-commit as a module. #1627

Closed

Description

@hadialqattan

Can't run pre-commit as a module.

pre-commit version: 2.7.1.
Python version: 3.8.
OS: Ubuntu 20.x.

$ python3 -m pip install pre-commit
... already installed!
$ python3 -m pre-commit
/usr/bin/python3: No module named pre-commit

Activity

  1. asottile commented on Oct 6, 2020

    @asottile
    Member

    the module is named pre_commit as python modules are named

  2. Enprogames commented on Aug 16, 2021

    @Enprogames
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions