Skip to content

Commit 4ceaf2a

Browse files
authored
Merge pull request #166 from cdce8p/dev
Release 0.4.1
2 parents f9106b5 + 4c997d9 commit 4ceaf2a

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

README.md

-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ so always check `git diff` before comitting any changes!
1717
Since this tool uses [pyupgrade][pyu], it's best used for
1818
projects that use it already.
1919

20-
**Python 3.10**
21-
This tool depends on `autoflake` which doesn't yet support Python 3.10.
22-
However, you can use `3.10` to update older Python syntax.
23-
2420

2521
## Limitations
2622
Due to the way the tool works, it will reorder the imports multiple times.

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
aiofiles==0.8.0
2-
autoflake==1.4
2+
autoflake @ git+https://github.com/cdce8p/[email protected]
33
isort==5.10.1
44
pyupgrade==2.32.0
55
reorder-python-imports==3.0.1

setup.cfg

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[metadata]
22
name = python-typing-update
33
# Version template: x.x.x[.dev1]
4-
version = 0.4.0
4+
version = 0.4.1
55
author = Marc Mueller
66
description = Update Python typing syntax
77
long_description = file:README.md
@@ -17,6 +17,7 @@ classifier =
1717
Intended Audience :: Developers
1818
Programming Language :: Python :: 3.8
1919
Programming Language :: Python :: 3.9
20+
Programming Language :: Python :: 3.10
2021
Topic :: Software Development
2122

2223
[options]
@@ -25,7 +26,8 @@ python_requires = >=3.8
2526
include_package_data = True
2627
install_requires =
2728
aiofiles==0.8.0
28-
autoflake==1.4
29+
# Custom autoflake version to parse 3.10 syntax
30+
autoflake @ git+https://github.com/cdce8p/[email protected]
2931
isort==5.10.1
3032
pyupgrade==2.32.0
3133
reorder-python-imports==3.0.1

0 commit comments

Comments
 (0)