L. Kärkkäinen
cdc5dd6b75
Hand-fixed typing extra () and changed some formatting to f-strings that Ruff had missed
2023-10-25 02:36:08 +00:00
L. Kärkkäinen
6fac60c6fe
Two empty lines after imports also in guide
2023-10-25 03:02:26 +01:00
L. Kärkkäinen
53b7412c01
String literals and type annotations...
2023-10-25 02:59:41 +01:00
L. Kärkkäinen
65ba1942cc
Flake8-comprehensions (C4) --fix go brrr
2023-10-25 02:28:52 +01:00
L. Kärkkäinen
9adb6e8ec0
Enable pycodestyle warnings (W) and --fix incorrectly escaped strings.
2023-10-25 02:06:06 +01:00
L. Kärkkäinen
ec35f5f2c8
Fix/ignore all remaining errors.
2023-10-25 02:03:44 +01:00
L. Kärkkäinen
9ae25e6744
ruff --fix # also import sorting
2023-10-25 01:03:35 +01:00
L. Kärkkäinen
758f10c513
ruff --fix --unsafe-fixes # Tests still A-OK!
2023-10-25 00:32:27 +01:00
L. Kärkkäinen
140d27ef96
ruff format
2023-10-25 00:22:00 +01:00
L. Kärkkäinen
209840b771
ruff --fix
2023-10-25 00:21:29 +01:00
L. Kärkkäinen
20fd58b8d7
Add config for Ruff
2023-10-25 00:21:09 +01:00
freddiewanah
a5a9658896
Refactor test cases to improve unit test quality ( #2796 )
...
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2023-09-07 15:26:56 +03:00
Adam Hopkins
91d7e6a77d
Add PAAS files for webhook deployment
2023-09-07 10:20:10 +03:00
Theodore Ni
eb3d78f687
Fix test_fast when there's only one CPU ( #2801 )
...
Co-authored-by: Néstor Pérez <25409753+prryplatypus@users.noreply.github.com>
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2023-09-06 21:26:28 +03:00
Adam Hopkins
d255d1aae1
Conversion of User Guide to the SHH stack ( #2781 )
2023-09-06 15:44:00 +03:00
Néstor Pérez
47215d4635
Run tests on push as well ( #2814 )
2023-08-30 20:03:22 +03:00
Adam Hopkins
38ff9069f3
Suppress task cancel traceback ( #2812 )
2023-08-30 09:05:37 +03:00
Néstor Pérez
4dde4572ec
Refactor GitHub Actions ( #2808 )
2023-08-29 21:47:40 +03:00
Néstor Pérez
31d14704cb
Update README ( #2810 )
2023-08-27 18:42:43 +03:00
Néstor Pérez
6a89f4b2fe
Add constraint for autodocsumm ( #2807 )
2023-08-23 20:47:23 +03:00
Adam Hopkins
16256522f6
Disable Test PyPI dist
2023-07-25 16:13:47 +03:00
Adam Hopkins
205795d1e8
Prepare for v23.6 release ( #2797 )
2023-07-25 15:57:29 +03:00
Adam Hopkins
9cbe1fb8ad
Add convenience method for exception reporting ( #2792 )
2023-07-18 00:21:55 +03:00
L. Kärkkäinen
31d7ba8f8c
Add request.client_ip ( #2790 )
...
Co-authored-by: L. Kärkkäinen <Tronic@users.noreply.github.com>
2023-07-13 23:01:02 +03:00
Adam Hopkins
dc3c4d1393
Add custom typing to config and ctx ( #2785 )
2023-07-12 23:47:58 +03:00
Adam Hopkins
929d270569
Update bug-report.yml ( #2788 )
2023-07-12 19:00:28 +03:00
Adam Hopkins
93714df051
Update bug-report.yml ( #2787 )
2023-07-12 18:53:14 +03:00
L. Kärkkäinen
6e61eab872
Increase KEEP_ALIVE_TIMEOUT default to 120 seconds ( #2670 )
...
Co-authored-by: L. Kärkkäinen <Tronic@users.noreply.github.com>
2023-07-12 08:45:30 +03:00
Adam Hopkins
6848ff24d8
Run keep alive tests in loop to get available port ( #2779 )
2023-07-09 22:58:17 +03:00
Adam Hopkins
666371bb92
Set multiprocessing start method early ( #2776 )
2023-07-09 22:34:15 +03:00
Adam Hopkins
4a2b82e42e
Remove Python3.7 support ( #2777 )
2023-07-09 22:00:14 +03:00
Moshe Nahmias
5dd1623192
Alow Blueprint routes to explicitly define error_format ( #2773 )
...
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2023-07-09 14:47:59 +03:00
Adam Hopkins
976da69e79
Add a new exception signal for ALL exceptions raised anywhere in application ( #2724 )
2023-07-09 10:53:36 +03:00
Liam Coatman
11a0b15194
Handle case when headers
argument of ResponseStream
constructor is None
( #2729 )
...
* Handle case when headers is None
* Add test for response stream with default headers
* Move test
---------
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2023-07-09 10:34:40 +03:00
Adam Hopkins
c21999a248
Resolve headers on different renderers - Issue 2749 ( #2774 )
...
* Resolve headers on different renderers - Issue 2749
* Make pretty
2023-07-09 09:57:22 +03:00
guacs
c17230ef94
Update request type on middleware types ( #2754 )
...
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2023-07-09 09:35:24 +03:00
Adam Hopkins
049983cb70
Fix traversals for intended results ( #2728 )
2023-07-09 09:21:39 +03:00
Zhiwei
e374409567
Adding allow route overwrite option in blueprint ( #2716 )
...
* Adding allow route overwrite option
* Add test case for route overwriting after bp copy
* Fix test
* Fix
* Add test case `test_bp_allow_override`
* Remove conflicted future routes when overwriting is allowed
* Improved test test_bp_copy_with_route_overwriting
* Fix type
* Fix type 2
* Add `test_bp_copy_without_route_overwriting` case
* make `allow_route_overwrite` flag to be internal
* Remove unwanted test case
---------
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2023-07-07 14:56:42 +03:00
Adam Hopkins
4068a0d83d
Add name prefixing to BP groups ( #2727 )
2023-07-05 19:31:25 +03:00
Benjamin
70da5e9879
Fix Inner bug: TypeError: __init__() got an unexpected keyword argument 'escape_forward_slashes' #2740 ( #2772 )
2023-07-05 15:30:38 +03:00
Moshe Nahmias
f48506d620
fix #2757 - Improved error messaging on startup time application induced import error ( #2770 )
...
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2023-07-05 14:38:15 +03:00
Mohammad Almoghrabi
f2cc83c1ba
fix examples for freeze_support() issue on windows ( #2741 )
...
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2023-07-05 13:45:08 +03:00
Mohammad Almoghrabi
273825dab6
Sanic on pypy ( #2682 )
...
Co-authored-by: L. Kärkkäinen <98187+Tronic@users.noreply.github.com>
Co-authored-by: Adam Hopkins <admhpkns@gmail.com>
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2023-07-05 12:14:47 +03:00
Zhiwei
9a7dafd531
Unpin setuptools version ( #2766 )
2023-07-05 11:06:43 +03:00
Thirumalaisamy K
50117d174c
Fix issue in getting current request through classmethod when served through a different ASGI server ( #2760 )
2023-06-14 22:03:43 +03:00
Néstor Pérez
af67801062
Fix JSONResponse default content type ( #2737 )
2023-04-09 22:23:21 +03:00
Adam Hopkins
6eaab2a7e5
Release 23.3 ( #2723 )
2023-03-26 22:54:28 +03:00
Adam Hopkins
d680af3709
v23.3 Deprecation Removal ( #2717 )
2023-03-26 15:24:08 +03:00
Adam Hopkins
a8c2d77c91
Sync state tolerance ( #2725 )
2023-03-26 08:39:59 +03:00
Adam Hopkins
6e1c787e5d
Simpler CLI targets ( #2700 )
...
Co-authored-by: L. Kärkkäinen <98187+Tronic@users.noreply.github.com>
2023-03-21 20:50:25 +02:00