Commit Graph

6 Commits

Author SHA1 Message Date
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