14
0
forked from pool/python-isort
Files
python-isort/fix-typo.patch
Benjamin Greiner f6cfc1a80a Accepting request 1267719 from home:nkrapp:branches:devel:languages:python
- Update to 6.0.1
- Update to 6.0.0
- drop support-pytest-8.patch, merged upstream
- change source url back to pypi, tests are now included
- update build-requirements
- add fix-typo.patch to fix tests

OBS-URL: https://build.opensuse.org/request/show/1267719
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=121
2025-04-07 16:12:39 +00:00

14 lines
682 B
Diff

Index: isort-6.0.1/isort/deprecated/finders.py
===================================================================
--- isort-6.0.1.orig/isort/deprecated/finders.py
+++ isort-6.0.1/isort/deprecated/finders.py
@@ -309,7 +309,7 @@ class RequirementsFinder(ReqsBaseFinder)
for subfile_name in os.listdir(full_path):
results.extend(
os.path.join(full_path, subfile_name)
- for ext in cls.ext # type: ignore[attr-defined]
+ for ext in cls.exts # type: ignore[attr-defined]
if subfile_name.endswith(ext)
)
continue