Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ matrix:
- python: 3.8
env: TOXENV=mypy

- python: 3.5
env: TOXENV=coverage-py35-tw184,codecov
- python: 3.5
env: TOXENV=coverage-py35-tw192,codecov
- python: 3.5
env: TOXENV=coverage-py35-twcurrent,codecov

- python: 3.6
env: TOXENV=coverage-py36-tw184,codecov
- python: 3.6
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Code
Klein uses `Twisted Trial <http://twistedmatrix.com/documents/current/api/twisted.trial.html>`_ and `tox <https://tox.readthedocs.io/en/latest/>`_ for its tests.
The command to run the full test suite is ``tox`` with no arguments.
This will run tests against several versions of Python and Twisted, which can be time-consuming.
To run tests against only one or a few versions, pass a ``-e`` argument with an environment from the envlist in ``tox.ini``: for example, ``tox -e py35-twcurrent`` will run tests with Python 3.5 and the current released version of Twisted.
To run tests against only one or a few versions, pass a ``-e`` argument with an environment from the envlist in ``tox.ini``: for example, ``tox -e py38-twcurrent`` will run tests with Python 3.8 and the current released version of Twisted.
To run only one or a few specific tests in the suite, add a filename or fully-qualified Python path to the end of the test invocation: for example, ``tox klein.test.test_app.KleinTestCase.test_foo`` will run only the ``test_foo()`` method of the ``KleinTestCase`` class in ``klein/test/test_app.py``.
These two test shortcuts can be combined to give you a quick feedback cycle, but make sure to check on the full test suite from time to time to make sure changes haven't had unexpected side effects.
- Show us your code changes through pull requests sent to `Klein's GitHub repo <https://github.com/twisted/klein>`_.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ build-backend = "setuptools.build_meta"
[tool.black]

line-length = 80
target-version = ["py35"]
target-version = ["py36"]
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
Expand Down
7 changes: 3 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

envlist =
flake8, black, mypy
coverage-py{35,36,37,38,39,py3}-tw{184,192,current,trunk}
coverage-py{36,37,38,39,py3}-tw{184,192,current,trunk}
coverage_report
docs, docs-linkcheck
packaging
Expand Down Expand Up @@ -64,7 +64,6 @@ setenv =
description = run tests

basepython =
py35: python3.5
py36: python3.6
py37: python3.7
py38: python3.8
Expand Down Expand Up @@ -378,8 +377,8 @@ ignore_missing_imports = True
description = generate coverage report

depends =
coverage-py{35,36,37,38,39,py3}-tw{1,2}{0,1,2,3,4,5,6,7,8,9}{0,1,2,3,4,5,6,7,8,9}
coverage-py{35,36,37,38,39,py3}-tw{current,trunk}
coverage-py{36,37,38,39,py3}-tw{1,2}{0,1,2,3,4,5,6,7,8,9}{0,1,2,3,4,5,6,7,8,9}
coverage-py{36,37,38,39,py3}-tw{current,trunk}

basepython = {[default]basepython}

Expand Down