Skip to content

Commit e1d0e38

Browse files
authored
➖ Temporarily remove typer-cli from dependencies and upgrade Black (fastapi#4754)
1 parent eddbae9 commit e1d0e38

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ test = [
5050
"pytest-cov >=2.12.0,<4.0.0",
5151
"mypy ==0.910",
5252
"flake8 >=3.8.3,<4.0.0",
53-
"black ==21.9b0",
53+
"black == 22.3.0",
5454
"isort >=5.0.6,<6.0.0",
5555
"requests >=2.24.0,<3.0.0",
5656
"httpx >=0.14.0,<0.19.0",
@@ -74,7 +74,9 @@ doc = [
7474
"mkdocs-material >=8.1.4,<9.0.0",
7575
"mdx-include >=1.4.1,<2.0.0",
7676
"mkdocs-markdownextradata-plugin >=0.1.7,<0.3.0",
77-
"typer-cli >=0.0.12,<0.0.13",
77+
# TODO: upgrade and enable typer-cli once it supports Click 8.x.x
78+
# "typer-cli >=0.0.12,<0.0.13",
79+
"typer >=0.4.1,<0.5.0",
7880
"pyyaml >=5.3.1,<6.0.0"
7981
]
8082
dev = [

tests/test_tutorial/test_request_files/test_tutorial001.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def test_post_file(tmp_path):
162162

163163

164164
def test_post_large_file(tmp_path):
165-
default_pydantic_max_size = 2 ** 16
165+
default_pydantic_max_size = 2**16
166166
path = tmp_path / "test.txt"
167167
path.write_bytes(b"x" * (default_pydantic_max_size + 1))
168168

0 commit comments

Comments
 (0)