forked from pool/python-isort
- 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
14 lines
682 B
Diff
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
|