mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
Upgrade dev tooling
(Drop detox, which is built into tox 3.7 and later.)
This commit is contained in:
5
Pipfile
5
Pipfile
@@ -14,13 +14,12 @@ six = "*"
|
|||||||
sparkpost = "*"
|
sparkpost = "*"
|
||||||
|
|
||||||
[dev-packages]
|
[dev-packages]
|
||||||
detox = "==0.18"
|
|
||||||
flake8 = "*"
|
flake8 = "*"
|
||||||
mock = "*"
|
mock = "*"
|
||||||
sphinx = "*"
|
sphinx = "*"
|
||||||
sphinx-rtd-theme = "*"
|
sphinx-rtd-theme = "*"
|
||||||
tox = "!=3.7.0"
|
tox = ">3.7.0"
|
||||||
twine = "*"
|
twine = "*"
|
||||||
|
|
||||||
[requires]
|
[requires]
|
||||||
python_version = "3.6"
|
python_version = "3.7"
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ and Python versions. Tests are run at least once a week, to check whether ESP AP
|
|||||||
and other dependencies have changed out from under Anymail.
|
and other dependencies have changed out from under Anymail.
|
||||||
|
|
||||||
For local development, the recommended test command is
|
For local development, the recommended test command is
|
||||||
:shell:`tox -e django21-py36-all,django111-py27-all,lint`, which tests a representative
|
:shell:`tox -e django22-py37-all,django111-py27-all,lint`, which tests a representative
|
||||||
combination of Python and Django versions. It also runs :pypi:`flake8` and other
|
combination of Python and Django versions. It also runs :pypi:`flake8` and other
|
||||||
code-style checkers. Some other test options are covered below, but using this
|
code-style checkers. Some other test options are covered below, but using this
|
||||||
tox command catches most problems, and is a good pre-pull-request check.
|
tox command catches most problems, and is a good pre-pull-request check.
|
||||||
@@ -110,7 +110,7 @@ with those, `pyenv`_ is a helpful way to install and manage multiple Python vers
|
|||||||
$ tox -e django21-py36-all,django111-py27-all tests.test_mailgun_backend tests.test_utils
|
$ tox -e django21-py36-all,django111-py27-all tests.test_mailgun_backend tests.test_utils
|
||||||
|
|
||||||
## to test more Python/Django versions:
|
## to test more Python/Django versions:
|
||||||
$ tox # ALL 20+ envs! (grab a coffee, or use `detox` to run tests in parallel)
|
$ tox --parallel auto # ALL 20+ envs! (in parallel if possible)
|
||||||
$ tox --skip-missing-interpreters # if some Python versions aren't installed
|
$ tox --skip-missing-interpreters # if some Python versions aren't installed
|
||||||
|
|
||||||
In addition to the mocked tests, Anymail has integration tests which *do* call live ESP APIs.
|
In addition to the mocked tests, Anymail has integration tests which *do* call live ESP APIs.
|
||||||
|
|||||||
Reference in New Issue
Block a user