-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update python-autoflake to version 2.2.1 / rev 12 via SR 1144710
https://build.opensuse.org/request/show/1144710 by user dgarcia + anag+factory - Add upstream support-python312.patch gh#PyCQA/autoflake#280
- Loading branch information
1 parent
03fda17
commit e5796f6
Showing
5 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
------------------------------------------------------------------- | ||
Tue Feb 6 18:28:40 UTC 2024 - Daniel Garcia <[email protected]> | ||
|
||
- Add upstream support-python312.patch gh#PyCQA/autoflake#280 | ||
|
||
------------------------------------------------------------------- | ||
Thu Dec 14 09:15:04 UTC 2023 - Petr Gajdos <[email protected]> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Index: autoflake-2.2.1/test_autoflake.py | ||
=================================================================== | ||
--- autoflake-2.2.1.orig/test_autoflake.py | ||
+++ autoflake-2.2.1/test_autoflake.py | ||
@@ -928,6 +928,7 @@ StrictVersion('1.0.0') | ||
from distutils.version import LooseVersion, StrictVersion | ||
StrictVersion('1.0.0') | ||
""", | ||
+ remove_all_unused_imports=True, | ||
), | ||
) | ||
|
||
@@ -941,6 +942,7 @@ version('1.0.0') | ||
from distutils.version import LooseVersion, StrictVersion as version | ||
version('1.0.0') | ||
""", | ||
+ remove_all_unused_imports=True, | ||
), | ||
) | ||
|