Commit Graph

31 Commits

Author SHA1 Message Date
cdeler
72a1f2c759
Replacing pytest-cov by coverage (#1353) 2020-10-08 13:05:30 +01:00
Johannes
ac7704e78c
Remove seed-isort-config (#1321)
As of isort 5 seed-isort-config is no longer needed.

We can get rid of some explicit config too as it's now more clever.
2020-09-24 11:08:07 +01:00
Florimond Manca
8fa87650b2
Drop urllib3 in favor of public gist (#1182)
* Drop urllib3 in favor of public gist

* Drop urllib3 coverage omit

* Drop recommendation to use urllib3 transport during Requests migration

* Add urllib3-transport to 3p pkgs

* Drop urllib3 from dependencies list in README / docs home page

Co-authored-by: Tom Christie <tom@tomchristie.com>
2020-09-04 22:56:36 +02:00
Tom Christie
c6022dea9f
Drop the auto-prompting 'do you want to run scripts/lint now' (#1107) 2020-08-01 09:39:28 +01:00
Tom Christie
2d491c9e7d
Full coverage, with exception of URLLib3Transport (#1086) 2020-07-24 15:24:06 +01:00
Florimond Manca
0296c2bbb9
Type check tests (#1054) 2020-07-07 11:10:43 +02:00
Taneli Hukkinen
8dea2c23d7
Make isort configuration compatible with isort v5 (#1050)
* Make isort configuration compatible with isort v5

* Use isort's black profile
2020-07-04 22:31:09 +01:00
Josep Cugat
620b0670db
Increase test coverage - take 2 (#1012)
* Fix HttpError -> HTTPError typo

* Increased test coverage

* Increase coverage threshold

* Reuse sync/async transport code in test_auth.py

* Removed close_client check inside StreamContextManager

It's never set as True when used in async

* Reuse sync/async transport code in test_redirects.py
2020-06-02 10:24:45 +01:00
Tom Christie
ba073c8a46
Clean up docs scripts (#953)
Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
2020-05-15 20:49:08 +01:00
Tom Christie
0a8b0c65bd
Enforce coverage (#955)
* Enforce coverage when running tests

* Enforce test coverage
2020-05-15 16:17:33 +01:00
Tom Christie
51b70b3fca
If scripts/check fails then prompt and autofix. (#952)
* If scripts/check fails then prompt and autofix

* Update scripts/test

Co-authored-by: Yeray Diaz Diaz <yeraydiazdiaz@gmail.com>

* Update test

Co-authored-by: Yeray Diaz Diaz <yeraydiazdiaz@gmail.com>
2020-05-15 13:22:46 +01:00
Tom Christie
30102612b7
Fix VERSION_FILE in publish script. (#916) 2020-05-01 13:47:29 +01:00
Tom Christie
e586e5df37
Publish workflow (#913)
* Publish workflow

* Set PYTHONPATH to allow auto docs to import package

* Seperate install, build, publish steps
2020-04-30 15:22:54 +01:00
Tom Christie
19bf2112a1
Test Suite on GitHub Actions (#907)
* Test Suite on GitHub Actions

* Add linting checks

* Update badges. Drop unused codecov, pending GitHub action support,
2020-04-24 16:46:45 +01:00
Florimond Manca
8d55d78574 Drop nox in favor of vanilla scripts (#566)
* Drop nox in favor of vanilla scripts

* Use named stages

* Fix attrs dependency resolution madness

* Add missing mkautodoc dev dependency

* Add missing install step on windows build

* Explicitly define stage order so that timed out Windows build runs last

* Add missing dev dependency on Black

* Clean up contributing guide

* Separate docs into docs-build and docs-serve
2019-11-30 11:50:13 +00:00
Florimond Manca
5e4f54d643
Add test script (#451) 2019-10-12 18:14:44 +02:00
Josep Cugat
a1179e55e1 Remove wheels package from test-requirements.txt (#448) 2019-10-05 08:26:34 -05:00
Josep Cugat
9e1cc26f8a Build and upload universal wheels to PyPI (#439) 2019-10-03 16:35:38 -05:00
Florimond Manca
12752466ae
Document the release process (#363)
* Document release process

* Update changelog instructions w/ ref to keepachangelog

* Prettify bullet points

* Add docs deploy to release script
2019-09-21 09:12:53 +02:00
Seth Michael Larson
80dc3e274e
Use nox for automation and CI (#128) 2019-08-13 08:39:35 -05:00
Can Sarıgöl
7e9110b978 Add additional flake8 plugins (#157) 2019-07-28 11:40:05 -05:00
Tom Christie
2d09d5b36c
Renaming -> httpx (#129)
* Renaming -> httpx

* Renaming to httpx
2019-07-19 15:15:16 +01:00
Seth Michael Larson
c1044cab84 Start using flake8, fix lint issues (#126) 2019-07-18 11:41:50 +01:00
Tom Christie
fe1f9ed119
Minor tweaks in line with requests behavior (#110) 2019-07-03 10:33:38 +01:00
Tom Christie
c9747aa357
http3 (#86)
* Start fleshing out documentation

* Docs work

* http3

* Update docs

* Include lowercase status codes, for requests compat

* Updating docs

* Docs tweaks
2019-06-12 15:02:16 +01:00
Tom Christie
feae0a895d
Cookie support (#73)
* Initial pass at cookie support
* Add Cookies model
* Support cookie persistence
2019-05-17 12:51:00 +01:00
Tom Christie
fc16d31d62
100% test coverage (#71) 2019-05-16 11:14:21 +01:00
Yeray Diaz Diaz
2fe07c3496 Add missing lines to coverage report 2019-05-14 13:27:55 +01:00
Tom Christie
30530d446d Stuff 2019-04-04 18:28:38 +01:00
Tom Christie
d12e5d49d0 Add scripts/clean 2019-04-04 13:30:46 +01:00
Tom Christie
d8497d308e Add scripts/publish 2019-04-04 13:29:52 +01:00