-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove tox, Travis CI and pep8.sh script
Update dependencies
- Loading branch information
Showing
9 changed files
with
10 additions
and
95 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
-rrequirements.txt | ||
|
||
pep8==1.7.0 | ||
pytest==4.4.1 | ||
pytest-pythonpath==0.7.3 # useful for running tests outside tox | ||
pytest-timeout==1.3.3 | ||
pytest==5.4.3 | ||
flake8==3.8.3 | ||
pytest-timeout==1.4.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
jsonschema==3.2.0 | ||
sentry-sdk>=0.14.4 | ||
psutil==5.6.7 | ||
psutil==5.7.0 | ||
distro>=1.3.0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
raise SystemExit("Python 3.4 or higher is required") | ||
|
||
|
||
class Tox(TestCommand): | ||
class PyTest(TestCommand): | ||
|
||
def finalize_options(self): | ||
TestCommand.finalize_options(self) | ||
|
@@ -33,10 +33,10 @@ def finalize_options(self): | |
|
||
def run_tests(self): | ||
# import here, cause outside the eggs aren't loaded | ||
import tox | ||
errcode = tox.cmdline(self.test_args) | ||
sys.exit(errcode) | ||
import pytest | ||
|
||
errcode = pytest.main(self.test_args) | ||
sys.exit(errcode) | ||
|
||
if sys.platform.startswith('linux'): | ||
data_files = [ | ||
|
@@ -61,8 +61,8 @@ def run_tests(self): | |
version=__import__("gns3").__version__, | ||
url="http://github.com/GNS3/gns3-gui", | ||
license="GNU General Public License v3 (GPLv3)", | ||
tests_require=["tox"], | ||
cmdclass={"test": Tox}, | ||
tests_require=["pytest"], | ||
cmdclass={"test": PyTest}, | ||
author="Jeremy Grossmann", | ||
author_email="[email protected]", | ||
description="GNS3 graphical interface for the GNS3 server.", | ||
|