msrest-for-python/tox.ini

18 строки
476 B
INI
Исходник Обычный вид История

2016-10-18 01:34:57 +03:00
[tox]
2022-11-08 23:53:00 +03:00
envlist=py{36,37,38,39,310,311}
2016-10-18 01:34:57 +03:00
skipsdist=True
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/msrest
PythonLogLevel=30
deps=
-rdev_requirements.txt
commands_pre=
autorest: bash ./autorest_setup.sh
2016-10-18 01:34:57 +03:00
commands=
2017-07-18 19:20:22 +03:00
pytest --cov=msrest tests/
autorest: pytest --cov=msrest --cov-append autorest.python/test/vanilla/
coverage report --fail-under=40
Pipeline (#106) * Pipeline renaming * Work in progress * Work in progress 2 * Move formData to ClientRequest * Pure ClientRequest with no requests * Add kwargs for send * Pipeline update * First pass on tests * Some typehints * Fixing all tests * Full Pipeline mypy * Py3 mock compat * Pipeline and stream download * First pass on Autorest testserver * While making coverage report, don't cry for async * Pylint * Add absolute_import for Py2.7 * Fix ABC for 2.7 * Add absolute_import to another file for 2.7 * Pipeline is a context manager * Some async ABC * Move mypy to 3.6 * Fix empty policies * aiohttp proof of concepts * Simplify ClientResponse * Improve response handling + async fixes * Fix mypy * Create a basic HTTPSender * async dependencies * Fix Pipfile for asyncio * Py3.5 compat * Add universal to async tests * Basic requests as asyncio impl * Remove check_redirect from configuration * Improve default pipeline * Make pipeline a public attribute * Split configuration for pipeline * Refactor config * Restore exception * mypy happiness * Split requests configuration * Simplify keep_alive behavior * Default parameter * Rename to on_request/on_response after feedback * Multi-thread compatible HTTP requests sender * Squashed commit of the following: commit 3246847c2f19a33c1f3846af5bfc91839fdbb09d Merge: 18cb696 388e8d0 Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Thu Jun 14 15:26:57 2018 -0700 Merge remote-tracking branch 'origin/master' into async2 commit 18cb6961098ff4bdad08c7c9c14793d9ccca0817 Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Wed May 23 11:30:00 2018 -0700 MyPy happiness commit bd7123396b43f25101d3c6e5e2bb81494f91d55d Merge: a997e97 3a8b79d Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Wed May 23 11:23:44 2018 -0700 Merge branch 'master' into async2 commit a997e97cd926c1eedfe4e5a3a52a637313fbd4e4 Merge: 4130eca 2b7d778 Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Wed May 9 13:54:11 2018 -0700 Merge remote-tracking branch 'origin/master' into async2 commit 4130eca92ac3b94d02fec4bc8c6489eaa6461bba Merge: 8ffedd8 9d81113 Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Fri Apr 20 10:38:45 2018 -0700 Merge remote-tracking branch 'origin/master' into async2 commit 8ffedd8a3a804a38a5057c080ddd382e777df37d Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Tue Mar 20 15:36:40 2018 -0700 Refactor a little async stream download commit bbf1259ca820090f1729a06e5727d584aaac0268 Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Fri Mar 16 17:20:07 2018 -0700 Add stream upload support commit 2d260036f6fa51d1fcf2113b13d1666129a5d36b Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Tue Feb 27 16:25:33 2018 -0800 Fix incorrect request call commit 6b55d4f633f810476884050085b7e52f68044cf2 Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Wed Jan 17 13:39:18 2018 -0800 Add status/finished to async poller commit 02c333eb13799d82ee9f003c86d3318b1a5cbfe9 Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Tue Jan 16 15:50:06 2018 -0800 Port stream to async implementation commit b3f0ac7d291d981032e1ac997d4996d2d76dbcd5 Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Tue Jan 16 15:32:23 2018 -0800 Add AsyncPoller commit 3e9e17883eee6bd679dc1457328c69f57a5cbeb2 Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Thu Dec 7 16:13:06 2017 -0800 Sync ServiceClientAsync with latest fixes commit 5483e289b51989c5f56db785f3e3c980db43f109 Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Thu Jul 20 11:27:05 2017 -0700 Address feedback from @brettcannon on async commit c99f4b71a77cee8d54b4b1f2759a4a0e65068a34 Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Tue Jul 18 13:14:27 2017 -0700 Robust coverage xml report commit e0c6d3e42b41a73b89e7c2bbcdf05b3e141240f9 Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Tue Jul 18 12:23:12 2017 -0700 Rename SC mixin commit 8e029ff0beaff25ea37435b70f6da1fc86d3b0dd Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Tue Jul 18 12:12:12 2017 -0700 Add async_get to paging commit f3dfaf652615911f17a53ca2d06a5e456e156324 Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Tue Jul 18 12:06:20 2017 -0700 Rename paging mixin commit 2f7142d211b60e3d4c61453aa1d8d7d257c5a09a Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Tue Jul 18 12:05:34 2017 -0700 async_get_next in paging commit 9e821009c4daae9eaa143ba0ec975052c2c66a2a Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Tue Jul 18 11:20:24 2017 -0700 async send form data commit 17045f776ef0457b49766693e7539c53edd86490 Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Tue Jul 18 11:18:46 2017 -0700 Add async client mixin commit 3294115452f4907d85f9f8e31a1c70a6e5b856da Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Tue Jul 18 11:08:37 2017 -0700 Fix Py3.5 async tests commit 615f672aeca9fb8bd864f3144856aa5e267db9b9 Author: Laurent Mazuel <laurent.mazuel@gmail.com> Date: Tue Jul 18 10:31:54 2017 -0700 Async paging with mixin * Remove useless tox line * Add credentials to async requests * Add trio support * Revamp async stream download * Add pipeline Response wrapper * Introduce a raw deserializer as a policy * SansIO on_exception * Fix deserialization tests * Implement #116 - Env variable for UserAgent * Revamp streaming * Logger should not log streamable response * Put pipeline in config * Mypy fixes * Update mypy 0.620 * Fix trio dep * Create universal HTTP package * Pipeline as a universal HTTP implementation, no mypy * Pipeline as a universal HTTP implementation, with mypy * Backward compatible ServiceClient * Doc update * Make config optional in requests engine * Fix types for MyPY 0.630 * Credentials can be directly a Policy * msrest[async] * 0.6.0rc1 first ChangeLog * Don't coverage report the TYPE_CHECKING import * Fix dev install on 3.5 and more * 0.6.0rc1 * Pre-load aiohttp body * sync ServiceClient returns requersts.Response * Fix import issue * Remove concept of requests_kwargs * Fix hooks parameter
2018-10-03 01:35:59 +03:00
coverage xml --ignore-errors # At this point, don't fail for "async" keyword in 2.7/3.4