This repository has been archived by the owner on May 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from eduNEXT/lmm/py38
[BD-6] Python 3.8 in travis tests
- Loading branch information
Showing
20 changed files
with
150 additions
and
115 deletions.
There are no files selected for viewing
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 @@ | ||
[pep8] | ||
[pycodestyle] | ||
ignore=E501 | ||
max_line_length=119 | ||
exclude=settings |
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,2 +1,4 @@ | ||
include LICENSE | ||
include README.rst | ||
include requirements/base.in | ||
inclue requirements/test.in |
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 +1 @@ | ||
__version__ = '0.15.5' | ||
__version__ = '0.16.0' |
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
log = logging.getLogger(__name__) | ||
|
||
|
||
class Client(object): | ||
class Client: | ||
""" | ||
Analytics API client. | ||
|
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,22 +1,14 @@ | ||
class ClientError(Exception): | ||
"""Common base class for all client errors.""" | ||
|
||
pass | ||
|
||
|
||
class NotFoundError(ClientError): | ||
"""URL was not found.""" | ||
|
||
pass | ||
|
||
|
||
class InvalidRequestError(ClientError): | ||
"""The API request was invalid.""" | ||
|
||
pass | ||
|
||
|
||
class TimeoutError(ClientError): # pylint: disable=redefined-builtin | ||
"""The API server did not respond before the timeout expired.""" | ||
|
||
pass |
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
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
requests==2.22.0 | ||
-c constraints.txt | ||
|
||
requests |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Version constraints for pip-installation. | ||
# | ||
# This file doesn't install any packages. It specifies version constraints | ||
# that will be applied if a package is needed. | ||
# | ||
# When pinning something here, please provide an explanation of why. Ideally, | ||
# link to other information that will help people in the future to remove the | ||
# pin when possible. Writing an issue against the offending project and | ||
# linking to it here is good. | ||
|
||
# When we went from httpretty 0.9.7 to 1.0.2, tests broke | ||
httpretty<1.0.0 |
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,13 +1,14 @@ | ||
-c constraints.txt | ||
|
||
-r base.txt # Core dependencies for this package | ||
|
||
coverage==4.3.1 | ||
ddt==1.1.1 | ||
nose==1.3.7 | ||
httpretty==0.8.14 | ||
pep8==1.7.0 | ||
pylint==1.9.4 | ||
pep257==0.7.0 | ||
mock==2.0.0 | ||
testfixtures==4.13.3 | ||
tox-travis==0.11 | ||
tox==3.7.0 | ||
coverage | ||
ddt | ||
httpretty | ||
pycodestyle | ||
pylint | ||
pydocstyle | ||
pytest | ||
pytest-cov | ||
mock | ||
testfixtures |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-c constraints.txt | ||
|
||
tox | ||
tox-travis |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# | ||
# This file is autogenerated by pip-compile | ||
# To update, run: | ||
# | ||
# make upgrade | ||
# | ||
appdirs==1.4.3 # via virtualenv | ||
distlib==0.3.0 # via virtualenv | ||
filelock==3.0.12 # via tox, virtualenv | ||
importlib-metadata==1.6.0 # via importlib-resources, pluggy, tox, virtualenv | ||
importlib-resources==1.5.0 # via virtualenv | ||
packaging==20.3 # via tox | ||
pluggy==0.13.1 # via tox | ||
py==1.8.1 # via tox | ||
pyparsing==2.4.7 # via packaging | ||
six==1.14.0 # via packaging, tox, virtualenv | ||
toml==0.10.0 # via tox | ||
tox-travis==0.12 # via -r requirements/tox.in | ||
tox==3.15.0 # via -r requirements/tox.in, tox-travis | ||
virtualenv==20.0.20 # via tox | ||
zipp==1.2.0 # via importlib-metadata, importlib-resources |
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,7 +1,11 @@ | ||
[tox] | ||
envlist = py27,py36 | ||
envlist = py{35,38}, quality | ||
|
||
[testenv] | ||
deps = -r{toxinidir}/requirements.txt | ||
commands = make test quality | ||
deps = -r{toxinidir}/requirements/test.txt | ||
commands = make test | ||
whitelist_externals = make | ||
|
||
[testenv:quality] | ||
deps = -r{toxinidir}/requirements/test.txt | ||
commands = make quality |