Commit Graph

15 Commits

Author SHA1 Message Date
Tom Christie af105b23d5
Ignore database coverage if STARLETTE_TEST_DATABASE is unset (#319)
* Ignore database coverage if STARLETTE_TEST_DATABASE is unset

* Skip black on 3.7 :(
2019-01-14 12:39:40 +00:00
Tom Christie 492a0366ae Tweaks to CONTRIBUTING docs and install script 2019-01-14 11:22:43 +00:00
Florimond Manca c06086fa08 Install script (#300)
* add install script

* add -p option, include script in contributing notes, add script compatibility note

* fix dead links

* use debug mode, fix default python executable

* add comment on line selecting python executable
2019-01-14 11:12:40 +00:00
Tom Christie 6cd0b2b787
Remove unused imports, with 'autoflake' (#313) 2019-01-10 14:35:32 +00:00
Tom Christie 654a65b649 Add scripts/clean 2018-12-06 10:52:38 +00:00
Tom Christie 0b7819b4b2
Add DatabaseMiddleware (#243)
* Add `DatabaseMiddleware`
2018-12-04 16:05:16 +00:00
Tom Christie d0755838b3 Disable deprecation warnings (triggered by third party packages) 2018-11-23 13:02:20 +00:00
Tom Christie 7b91341d6f Version 0.8.2 2018-11-08 17:00:24 +00:00
Tom Christie bcf876c686
Use isort for consistent import ordering (#156) 2018-10-29 14:46:42 +00:00
Tom Christie c50460fbb9
Add final missing annotations, and enable '--disallow-untyped-defs' (#115)
* fix(dataStructures): missing annotations added

* fix(requests.py): annotations added

* fix(Annotations): wrong annotations fixed on datastructures and requests modules.

* fix(Missing annotation): missing annotations added on testclient module.

* fix(testclient): annotations fixed

* minor tweaks

* fix(testclient): Session request method fixed. WIP _ASGIAdapter send method

* fix(testclient): small tweaks

* Switch on --disallow-untyped-defs when testing with mypy
2018-10-16 15:56:28 +01:00
Tom Christie d05ef2328d
Enable mypy in tests (#110) 2018-10-15 10:13:09 +01:00
Tom Christie c43a070eed
Form parsing (#102)
* Work towards MultiPartParser

* Work towards MultiPartParser

* Add test for multipart files

* MultiPart parsing

* Fix for large multipart messages

* Add python-multipart to docs

* Add python-multipart to 'pip install starlette[full]'

* Add FormParser

* Add docs for request.form()

* Drop mypy momentarily
2018-10-12 18:15:04 +01:00
Tom Christie cc09042c1c
Enable mypy in tests (#103)
* Enable mypy in tests

* Fix TestClient annotations
2018-10-10 17:33:12 +01:00
Tom Christie 060f0593bc
Push black linting into ./scripts/test (#96)
* Push black linting into ./scripts/test Fix some annotations etc.

* Skip black on 3.7

* Fix script

* Blergh. Shell equality tests are weird

* Attempt to fix equality check
2018-10-09 12:27:27 +01:00
Tom Christie 5a9fe3f048 Initial commit 2018-06-25 14:15:32 +01:00