diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 449e54a6..b9fcdf27 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -753,7 +753,7 @@ flake8@fedora:32: before_script: - dnf install -y python3-flake8 script: - - flake8-3 --ignore=W501,E501,W504 $(git grep -l '^#!/usr/bin/env python3') + - flake8-3 --ignore=W501,E501,W504,E741 $(git grep -l '^#!/usr/bin/env python3') # diff --git a/.gitlab-ci/ci.template b/.gitlab-ci/ci.template index b98e5161..5c5cabd7 100644 --- a/.gitlab-ci/ci.template +++ b/.gitlab-ci/ci.template @@ -548,7 +548,7 @@ flake8@{{distro.name}}:{{version}}: before_script: - dnf install -y python3-flake8 script: - - flake8-3 --ignore=W501,E501,W504 $(git grep -l '^#!/usr/bin/env python3') + - flake8-3 --ignore=W501,E501,W504,E741 $(git grep -l '^#!/usr/bin/env python3') {% endfor %} diff --git a/tools/libinput-measure-fuzz.py b/tools/libinput-measure-fuzz.py index c392d74a..6cb9f893 100755 --- a/tools/libinput-measure-fuzz.py +++ b/tools/libinput-measure-fuzz.py @@ -209,7 +209,7 @@ def handle_existing_entry(device, fuzz): return False else: print_red('not found') - print('Checking in {}... '.format(DEFAULT_HWDB_FILE, template), end='') + print('Checking in {}... '.format(DEFAULT_HWDB_FILE), end='') entry, prefix, lineno = check_file_for_lines(DEFAULT_HWDB_FILE, template) if entry is not None: print_green('found')