mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-08 05:54:17 +00:00
Lint Python files with a shebang
When a pattern is not passed to flake8 (--filename), look for all files that end with .py as well as extension-less files that start with a Python shebang. Helps project lint scripts that may not have an extension. Fixes #409
This commit is contained in:
parent
a2b7a7e4c5
commit
36a70fd110
4 changed files with 79 additions and 3 deletions
1
tests/fixtures/example-code/script
vendored
Normal file
1
tests/fixtures/example-code/script
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
#!/usr/bin/env python
|
||||
Loading…
Add table
Add a link
Reference in a new issue