From 23368d93037c7134847e99ff9772e2e2fbc9daa3 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Tue, 14 Aug 2018 11:14:09 -0400 Subject: Add (and fix) flake8 checks in tox Add config in tox to run flake8 checks. For now, only "F*" errors are checked (errors reported by pyflakes). pep8 style checks are ignored for now. This is accompanied by changes in the code that are necessary to silence these errors. Most of them were about unused imports, but also unsed referenced and even undefined ones (meaning that this code path was broken, gotta increase test coverage). This setup will replace pylint which reports way too many errors to be usable (see next commit). --- pym/gentoolkit/flag.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'pym/gentoolkit/flag.py') diff --git a/pym/gentoolkit/flag.py b/pym/gentoolkit/flag.py index d92d904..90a931a 100644 --- a/pym/gentoolkit/flag.py +++ b/pym/gentoolkit/flag.py @@ -20,8 +20,6 @@ __all__ = ( ) -import sys - import portage -- cgit v1.2.3-65-gdbad