mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 01:03:24 +00:00
* fix typo in pytest.mark.xskip Change xskip by skipif marker as xskip is an unknown pytest marker. * fix FileModeWarning This fix the following warning: FileModeWarning: Requests has determined the content-length for this request using the binary size of the file: however, the file has been opened in text mode (i.e. without the 'b' flag in the mode). This may lead to an incorrect content-length. In Requests 3.0, support will be removed for files in text mode. * fix waring "calling yaml.load() without Loader=... is deprecated" This fix the following warning: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. * fix collections.abc deprecation warning in python 3.7. * update Flask dependency in order to get rid of the Request.is_xhr warning This fix the following warning: DeprecationWarning: 'Request.is_xhr' is deprecated as of version 0.13 and will be removed in version 1.0. The 'X-Requested-With' header is not standard and is unreliable. You may be able to use 'accept_mimetypes' instead.
35 lines
758 B
INI
35 lines
758 B
INI
[tox]
|
|
envlist = {py27,py35,py36,py37,pypy}-{flakes,requests,httplib2,urllib3121,tornado4,boto3},{py35,py36,py37}-{aiohttp}
|
|
|
|
[testenv:flakes]
|
|
skipsdist = True
|
|
commands =
|
|
flake8 --version
|
|
flake8 --exclude=./docs/conf.py,./.tox/
|
|
pyflakes ./docs/conf.py
|
|
deps = flake8
|
|
|
|
[testenv]
|
|
commands =
|
|
./runtests.sh {posargs}
|
|
deps =
|
|
Flask
|
|
mock
|
|
pytest
|
|
pytest-httpbin
|
|
PyYAML
|
|
ipaddress
|
|
requests: requests>=2.22.0
|
|
httplib2: httplib2
|
|
urllib3121: urllib3==1.21.1
|
|
{py27,py35,py36,pypy}-tornado4: tornado>=4,<5
|
|
{py27,py35,py36,pypy}-tornado4: pytest-tornado
|
|
{py27,py35,py36}-tornado4: pycurl
|
|
boto3: boto3
|
|
aiohttp: aiohttp
|
|
aiohttp: pytest-asyncio
|
|
aiohttp: pytest-aiohttp
|
|
|
|
[flake8]
|
|
max_line_length = 110
|