Commit Graph

18 Commits

Author SHA1 Message Date
Marcelo Trylesinski 5a1bec33f8
Don't print xfail on the test suite (#2609) 2024-06-04 13:47:30 -06:00
Marcelo Trylesinski bd77d7d9f0
Enforce `__future__.annotations` (#2483) 2024-02-29 10:16:42 +00:00
Scirlat Danut f724827795
Remove mypy skip flags (#2497)
* Remove flags

* Apply suggestions from code review

* Remove mypy overrides

---------

Co-authored-by: Scirlat Danut <scirlatdanut@scirlats-mini.lan>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2024-02-09 21:39:42 +00:00
Sebastián Ramírez 13e5c26a27
Merge pull request from GHSA-93gm-qmq6-w238 2024-02-03 05:34:10 -07:00
Sebastián Ramírez 3734e85c18
♻️ Do not use the deprecated `method` parameter in `FileResponse` inside of `StaticFiles` (#2406)
* ♻️ Do not use the deprecated `method` parameter in `FileResponse` inside of` StaticFile`

*  Add test for warning FileResponse with method argument

* 🔊 Remove warning filter for FileResponse with method
2024-01-11 08:17:18 -07:00
Marcelo Trylesinski 6715eb4f4f
Deprecate `FileResponse(method=...)` parameter (#2366) 2023-12-16 12:47:54 +00:00
Amin Alaee 93494a46ee
Replace black with ruff formatter (#2330) 2023-11-08 17:43:38 +01:00
Viicos 7c8ca17773
Use mypy `strict` (#2180)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2023-07-23 15:41:50 -06:00
Alex Grönholm 844220819f
Added official Python 3.12 support (#2214) 2023-07-13 21:23:03 +02:00
Marcelo Trylesinski 5d12b86982
Drop support for Python 3.7 (#2178) 2023-07-13 02:19:12 -06:00
Amin Alaee 53e1c50f59
Update pyproject.toml (#2205) 2023-07-03 09:13:59 +02:00
Michał Górny 94225d0901
Include all files in sdist archives (#2149)
Remove the restriction on files inclduded in sdist archives in order
to include documentation sources and tests there.  This is the default
hatchling behavior and it is helpful to packagers (such as Linux
distributions or Conda) as it permits using sdist archives to do
packaging (instead of GitHub archives that are not guaranteed
to be reproducible).  Most of the ordinary users will not be affected
since starlette is a pure Python package and therefore pip will prefer
wheels to install it everywhere.
2023-05-24 03:27:22 -06:00
Amin Alaee d3a11205ed
Move configuration of tools to pyproject.toml (#2148) 2023-05-16 13:50:46 +00:00
Marcelo Trylesinski 94b1d70a6b
Use ruff instead of flake8, autoflake and isort (#2110) 2023-04-05 14:30:01 +02:00
Marcelo Trylesinski 55b0cbd045
Add project URLs to `pyproject.toml` (#1875) 2022-09-29 17:10:51 +02:00
Marcelo Trylesinski e89e131686
Add official support for Python 3.11 (#1863) 2022-09-22 17:18:44 +02:00
Marcelo Trylesinski 6765502c1e
Replace HTTP client on TestClient from `requests` to `httpx` (#1376) 2022-09-06 07:43:32 +02:00
Ofek Lev 31164e346b
Update package metadata (#1819) 2022-08-24 07:50:13 +02:00