Several class annotations were subscripted but pylint had a bug that did
not handle this. This is now fixed in pylint 2.8+.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Make sure any --version commands run first. Split out compiling the C
extension in preparation for setuptools dropping its test runner.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
# Conflicts:
# tox.ini
apol and sechecker were missing from all of the checks. Also change the
testenvs to use the main dependency list so there are no errors in stating
the NetworkX and Cython dependencies.
This also changes the environment list. It adds pep8 and lint to the
default checking and changes the python versions to a generic Python 3 so
the baseline installed Python is used. .travis.yml will be the
only place to specify which versions of Python to test for CI purposes.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Not necessary for CI testing, as the environment is always completely
recreated. Developers can add '-r' to their command lines to recreate
the environments when needed. The CI testing should catch issues if
something works locally only due to an environment anomaly.
From the project webpage:
"""
Tox is a generic virtualenv management and test command line tool you can use
for:
- checking your package installs correctly with different Python versions and
interpreters
- running your tests in each of the environments, configuring your test tool of
choice
- acting as a frontend to Continuous Integration servers, greatly reducing
boilerplate and merging CI and shell-based testing.
"""