Commit Graph

11 Commits

Author SHA1 Message Date
Adam Johnson
ca61162129
Lint with pre-commit (#365)
* Lint with pre-commit

* Move existing tox qa hooks into pre-commit.
* Set up GitHub Action based on https://github.com/pre-commit/action/ (we could also use https://pre-commit.ci ).
* Add `pyupgrade` to drop old Python syntax.
* Add `flake8-bugbear` plugin to prevent flake8 errors.

* Drop custom GHA
2021-04-07 20:11:21 +02:00
Michael K
b96720390f
Switch from Travis CI to GitHub Actions (#336)
* Add GitHub Actions
* Remove Travis CI
* Remove known first party from isort's config
2020-10-20 16:44:54 +02:00
Carlton Gibson
78be865eb4
Fixed #276 -- Ensured 500 response when app sends malformed headers. (#281) 2019-11-14 07:13:16 +01:00
Imblc
e93643ff5a Fixed #229: Allow bytes headers only
Previously Daphne was too lax and would happily accept strings too.
2018-09-28 09:45:03 -07:00
Andrew Godwin
0ed6294406 Implement Black code formatting 2018-08-27 12:29:57 +10:00
Andrew Godwin
0572b1dbcd Further improve flaky header tests 2018-02-01 21:18:13 -08:00
Andrew Godwin
26fa870540 Move to "body" everywhere in HTTP messages 2017-11-29 21:27:24 -08:00
Andrew Godwin
3358767814 Increase hypothesis deadlines for slower systems/Travis 2017-11-29 00:03:29 -08:00
Andrew Godwin
20ff8fec28 Match to the new ASGI-HTTP spec. 2017-11-28 17:28:35 -08:00
Andrew Godwin
7fb3e9a167 Clean up comments, names and imports 2017-11-27 00:02:37 -08:00
Andrew Godwin
1ca1c67032 Add HTTP response test suite 2017-11-26 00:06:23 -08:00