Open zachriggle opened 3 years ago
It looks like this is an underlying issue to the pygments
library:
$ head -1 bin/code-audit-asserts
#!/usr/bin/env zsh
$ pygmentize bin/code-audit-asserts
Error: no lexer for filename 'bin/code-audit-asserts' found
When running
pycco file
, it works well when the file is namedfoo.py
, but does not work forfoo
despite having a shebang.Example Script
Create this file as
example
. Note that if it is namedexample.py
, everything works as expected.Pycco Output