GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ImportError running check-shebang-scripts-are-executable · Issue #602 · pre-commit/pre-commit-hooks

ImportError running check-shebang-scripts-are-executable #602

New issue
Copy link
New issue
Copy link
Closed
#603
Closed
ImportError running check-shebang-scripts-are-executable#602
#603
Copy link
Labels
buggood-first-issue

Description

@Person-93
Person-93
opened on May 16, 2021
Issue body actions

This commit hook always fails with an import error.

Check that scripts with shebangs are executable...............................Failed
- hook id: check-shebang-scripts-are-executable
- exit code: 1
Traceback (most recent call last):
  File "/home/mtepfer/.cache/pre-commit/reponp0slfro/py_env-python3/bin/check-shebang-scripts-are-executable", line 5, in <module>
    from pre_commit_hooks.check_executables_have_shebangs import main_reverse
ImportError: cannot import name 'main_reverse' from 'pre_commit_hooks.check_executables_have_shebangs' (/home/mtepfer/.cache/pre-commit/reponp0slfro/py_env-python3/lib/python3.7/site-packages/pre_commit_hooks/check_executables_have_shebangs.py)

Activity

  1. Person-93
    changed the title [-]ImportError running check-executables-have-shebangs[/-] [+]ImportError running check-shebang-scripts-are-executable[/+] on May 16, 2021
  2. asottile commented on May 16, 2021

    @asottile
    asottile
    on May 16, 2021
    Member
    More actions

    @scop ^

  3. asottile
    added
    bug
    good-first-issue
    on May 16, 2021
  4. asottile
    closed this as completedin #603on May 16, 2021
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

    buggood-first-issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.