Commit graph

18 commits

Author SHA1 Message Date
Stanislav Bushuev
a74e266474
skip coverage for TYPE_CHECKING 2022-05-03 12:11:55 -06:00
David Lord
faaa5594b2
accurate type for __exit__ 2022-03-15 08:44:09 -07:00
David Lord
1be65b1b69
overriding FlaskClient.open works with redirects 2022-02-09 11:13:03 -08:00
David Lord
aab064fee1
remove deprecated as_tuple parameter from test_client 2022-01-14 09:34:07 -08:00
David Lord
564bb27efa
deprecate as_tuple 2021-11-15 13:13:18 -08:00
pgjones
77237093da Add initial type hints
This should make it easier for users to correctly use Flask. The hints
are from Quart.
2021-04-26 17:29:53 +01:00
David Lord
1936ca8a2e
remove BaseRequest and BaseResponse 2021-01-29 10:52:48 -08:00
David Lord
7a444c5dab
update tests for new werkzeug client (#3827)
Flask's client.open mirrors Werkzeug's for processing an existing
environ.

Always test with latest code for other Pallets projects. This will
be changed back once the new versions are released.
2020-11-04 18:00:21 -08:00
David Lord
171aabc87d
remove unused ref directives
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
David Lord
f2f027d1fb
remove unused module docstrings 2020-04-04 12:28:08 -07:00
David Lord
2ae740dd49
f-strings everywhere 2020-04-04 12:10:00 -07:00
David Lord
524fd0bc8c
apply pyupgrade 2020-04-04 12:10:00 -07:00
David Lord
1263d3bd14
remove deprecated code 2020-04-04 12:10:00 -07:00
David Lord
4024a4a89c
update deprecation versions 2020-04-03 10:02:40 -07:00
David Lord
1351d0a565
Merge branch '1.0.x' 2019-06-23 16:57:52 -07:00
David Lord
53c893b646
fix string concats left over by black 2019-06-01 09:22:20 -07:00
David Lord
43483683b2
apply reorder-python-imports pre-commit config 2019-06-01 09:07:20 -07:00
David Lord
ca278a8694
move to src directory 2019-06-01 08:06:16 -07:00
Renamed from flask/testing.py (Browse further)