Skip to content

Commit 0152be5

Browse files
authored
Add upper limit to pyflake's version <3.0 (#186)
The latest pyflake version removed handling of python 2.x ``# type:`` comments. It would be very convenient to have a last release that support it in autoflake. As the dependency was not upper limited none of the current release of autoflake handle's 2.X style typing.
1 parent 9a10a30 commit 0152be5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ classifiers = [
1717
keywords = ["clean", "fix", "automatic", "unused", "import"]
1818
urls = { Homepage = "https://www.github.com/PyCQA/autoflake" }
1919
requires-python = ">=3.7"
20-
dependencies = ["pyflakes>=1.1.0", "tomli>=2.0.1;python_version<'3.11'"]
20+
dependencies = ["pyflakes>=1.1.0,<3", "tomli>=2.0.1;python_version<'3.11'"]
2121
dynamic = ["version"]
2222

2323
[project.readme]

0 commit comments

Comments
 (0)