Updates to CI config & general project config #28
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes Issue #28.
Deployments
Test Coverage
pytest-cov
Other CI Config
flake8
env fromstyle
tolint
black --check
tostyle
envstyle
env in Travis CImypy
env in Travis CI3.8-dev
env to3.8
coverage
,style
,mypy
, andcoveralls
only once, in a separate CI job under py3.8General Config
setuptools
setuptools.find_packages()
__version__
to specifysetuptools
versionsetup.py
tosetup.cfg
(which supports slightly cleaner syntax for metadata)MOCK_RESPONSE
out ofconstants.py
, which is imported by__init__.py
. Otherwise, the external import (requests
) would cause, for example,python setup.py --version
to fail outside a virtualenv