selinux/scripts
Petr Lautrbach d7b0207c5a run-flake8: Filter out ./.git/ directory
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>
2020-05-13 11:11:27 +02:00
..
.gitignore scripts: add a helper script to run clang's static analyzer 2018-06-15 09:03:17 -04:00
Lindent Update to latest Lindent script from kernel tree. 2013-10-30 14:34:25 -04:00
env_use_destdir scripts/env_use_destdir: propagate PREFIX, LIBDIR, BINDIR, etc. 2020-05-05 15:19:05 +02:00
make-update Add make-update script and fix release script. 2013-10-31 14:34:02 -04:00
release scripts/release: Update links to use release assets instead of wiki links 2019-02-05 09:56:34 +01:00
run-flake8 run-flake8: Filter out ./.git/ directory 2020-05-13 11:11:27 +02:00
run-scan-build libsepol, libsemanage: add a macro to silence static analyzer warnings in tests 2019-09-30 08:43:41 -04:00