Skip to content

shebang_can_run_anything warning is awkward #47

@zooba

Description

@zooba

Current message:

A shebang 'py' was found, but does not match any supported template (e.g. '/usr/bin/python').
Using the shebang as an arbitrary command instead. Configure 'shebang_can_run_anything' to disable this.

Should make it something like:

A shebang 'py' was found, but does not match any supported template (e.g. '/usr/bin/python'), so it will be treated as an arbitrary command.
To prevent execution of programs that are not Python runtimes, set 'shebang_can_run_anything' to 'false' in your configuration file.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions