From 69380f618c060f125cc0102a0186f790b832bf5d Mon Sep 17 00:00:00 2001 From: PatOnTheBack <51241310+PatOnTheBack@users.noreply.github.com> Date: Mon, 8 Jul 2019 08:53:11 -0400 Subject: [PATCH 1/2] Add Flake8 F4 Tests to .travis.yml F4 tests check for import errors. Implements issue #973 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8676e5127334..38c757824b97 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,4 +2,4 @@ language: python dist: xenial # required for Python >= 3.7 python: 3.7 install: pip install flake8 -script: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics +script: flake8 . --count --select=E9,F4,F63,F7,F82 --show-source --statistics From fb34f33b78982baf215f335ece6e94b666bbf751 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 13 Sep 2019 13:58:57 +0200 Subject: [PATCH 2/2] Remove wildcard imports --- linear_algebra/src/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linear_algebra/src/tests.py b/linear_algebra/src/tests.py index a26eb92653e2..afca4ce87117 100644 --- a/linear_algebra/src/tests.py +++ b/linear_algebra/src/tests.py @@ -9,7 +9,7 @@ """ import unittest -from lib import * +from lib import Matrix, Vector, axpy, squareZeroMatrix, unitBasisVector, zeroVector class Test(unittest.TestCase): def test_component(self):