d7b0207c5a
When a branch has '.py' suffix git creates a file with the same suffix and this file is found by the `find . -name '*.py'` command. Such files from './git' need to be filtered out. Fixes: $ PATH="$VIRTUAL_ENV/bin:$PATH" ./scripts/run-flake8 Analyzing 189 Python scripts ./.git/logs/refs/heads/semanage-test.py:1:42: E999 SyntaxError: invalid syntax ./.git/refs/heads/semanage-test.py:1:4: E999 SyntaxError: invalid syntax The command "PATH="$VIRTUAL_ENV/bin:$PATH" ./scripts/run-flake8" exited with 1. Signed-off-by: Petr Lautrbach <plautrba@redhat.com> Acked-by: Nicolas Iooss <nicolas.iooss@m4x.org> |
||
---|---|---|
.. | ||
.gitignore | ||
Lindent | ||
env_use_destdir | ||
make-update | ||
release | ||
run-flake8 | ||
run-scan-build |