Package: lintian
Version: 2.128.1
Severity: normal

example-unusual-interpreter incorrectly flags "#!/usr/bin/env python" as being
problematic.  This feels like a new behavior, because I have many packages
with files with this shebang and have never had an issue before.  However,
 perhaps it only flags them incorrectly if they are shipped as examples.

Example files that trigger this tag are:

https://salsa.debian.org/python-team/packages/python-libusb1/-/tree/master/examples?ref_type=heads

P: python3-usb1: example-unusual-interpreter python 
[usr/share/doc/python3-usb1/examples/hotplug.py]
N: 
N:   This package contains an example script for an interpreter that is not 
shipped in the package and is not known to Lintian. It is possible that there 
is a typo or the interpreter is not executable.
N: 
N:   Visibility: pedantic
N:   Show-Always: no
N:   Check: scripts
N: 
N:
P: python3-usb1: example-unusual-interpreter python 
[usr/share/doc/python3-usb1/examples/hotplug_advanced.py]
N:
P: python3-usb1: example-unusual-interpreter python 
[usr/share/doc/python3-usb1/examples/listdevs.py]

Reply via email to