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
20 changes: 0 additions & 20 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,32 +128,13 @@ repos:
- types-backports
- types-pyOpenSSL
- types-requests
- types-six
args:
- --install-types
- --non-interactive
- --python-version=3.5
- --txt-report=.tox/.tmp/.mypy/
- cheroot/
pass_filenames: false
- id: mypy
alias: mypy-py27
name: MyPy, for Python 2.7
additional_dependencies:
- lxml
- typed-ast
- types-backports
- types-pyOpenSSL ~= 21.0 # Last interface supporting Python 2.7
- types-requests
- types-six
- typing
args:
- --install-types
- --non-interactive
- --python-version=2.7
- --txt-report=.tox/.tmp/.mypy/
- cheroot/
pass_filenames: false

- repo: local
hooks:
Expand Down Expand Up @@ -195,7 +176,6 @@ repos:
- pypytools
- requests_toolbelt
- requests_unixsocket
- six
- Sphinx

- repo: local
Expand Down
4 changes: 0 additions & 4 deletions cheroot/test/_pytest_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
__metaclass__ = type

import pytest
import six


pytest_version = tuple(map(int, pytest.__version__.split('.')))
Expand Down Expand Up @@ -46,9 +45,6 @@ def pytest_load_initial_conftests(early_config, parser, args):
'pytest.PytestUnraisableExceptionWarning:_pytest.unraisableexception',
))

if six.PY2:
return

# NOTE: `ResourceWarning` does not exist under Python 2 and so using
# NOTE: it in warning filters results in an `_OptionError` exception
# NOTE: being raised.
Expand Down
1 change: 0 additions & 1 deletion requirements/tox-py27-cp27-darwin-x86_64.in

This file was deleted.

209 changes: 0 additions & 209 deletions requirements/tox-py27-cp27-darwin-x86_64.txt

This file was deleted.

1 change: 0 additions & 1 deletion requirements/tox-py27-cp27-linux-x86_64.in

This file was deleted.

Loading