Skip to content

Commit

Permalink
➖ Temporarily remove typer-cli from dependencies and upgrade Black (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Apr 1, 2022
1 parent eddbae9 commit e1d0e38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Expand Up @@ -50,7 +50,7 @@ test = [
"pytest-cov >=2.12.0,<4.0.0",
"mypy ==0.910",
"flake8 >=3.8.3,<4.0.0",
"black ==21.9b0",
"black == 22.3.0",
"isort >=5.0.6,<6.0.0",
"requests >=2.24.0,<3.0.0",
"httpx >=0.14.0,<0.19.0",
Expand All @@ -74,7 +74,9 @@ doc = [
"mkdocs-material >=8.1.4,<9.0.0",
"mdx-include >=1.4.1,<2.0.0",
"mkdocs-markdownextradata-plugin >=0.1.7,<0.3.0",
"typer-cli >=0.0.12,<0.0.13",
# TODO: upgrade and enable typer-cli once it supports Click 8.x.x
# "typer-cli >=0.0.12,<0.0.13",
"typer >=0.4.1,<0.5.0",
"pyyaml >=5.3.1,<6.0.0"
]
dev = [
Expand Down
2 changes: 1 addition & 1 deletion tests/test_tutorial/test_request_files/test_tutorial001.py
Expand Up @@ -162,7 +162,7 @@ def test_post_file(tmp_path):


def test_post_large_file(tmp_path):
default_pydantic_max_size = 2 ** 16
default_pydantic_max_size = 2**16
path = tmp_path / "test.txt"
path.write_bytes(b"x" * (default_pydantic_max_size + 1))

Expand Down

0 comments on commit e1d0e38

Please sign in to comment.