Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
Permalink
Browse files

Add Flake8 F4 Tests to .travis.yml (#974)

* Add Flake8 F4 Tests to .travis.yml

F4 tests check for import errors. Implements issue #973

* Remove wildcard imports
  • Loading branch information...
PatOnTheBack authored and cclauss committed Sep 13, 2019
1 parent f8e30cf commit 6fa3c0b1701bc4b4a594e6b2ada335acefc12076
Showing with 2 additions and 2 deletions.
  1. +1 −1 .travis.yml
  2. +1 −1 linear_algebra/src/tests.py
@@ -6,7 +6,7 @@ before_install: pip install --upgrade pip setuptools
install: pip install -r requirements.txt
before_script:
- black --check . || true
- flake8 . --count --select=E9,F401,F63,F7,F82 --show-source --statistics
- flake8 . --count --select=E9,F4,F63,F7,F82 --show-source --statistics
script:
- scripts/validate_filenames.py # no uppercase, no spaces, in a directory
- mypy --ignore-missing-imports .
@@ -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):

0 comments on commit 6fa3c0b

Please sign in to comment.
You can’t perform that action at this time.