3dced7c567
- Update to 7.0.0: * Breaking Changes + Drop support for Python 3.9 (#2430) @DanielNoord * Features + Show absolute paths in skipped file messages (#2416) @pranlawate * Fixes + Drop use of non-standard pkg_resources API (#2405) @dvarrazzo + Use working isort version in pre-commit example (#2402) @iainelder + fix typo in _get_files_from_dir_cached test (#2392) @tiltingpenguin + Resolve bandit warnings (#2379) @kurtmckee + Some fixes for Python 3.14 (#2433) @DanielNoord + Test on 3.14 and fix any bugs (#2425) @DanielNoord + Update CHANGELOG.md + Fix Formatting and Grammar (#2419) @lukbrew25 + Fix output of hanging indent for long lines with noqa (#2407) - Drop patch fix-typo.patch, merged upstream.
Steve Kowalik2025-12-17 03:58:55 +00:00
2d2761fe58
- Raise suse_version to disable pymama tests to <= 1600
Sebastian Wagner2025-05-02 09:34:05 +00:00
8e320f4883
Accepting request 1267733 from devel:languages:python
Ana Guerrero2025-04-07 16:56:01 +00:00
349ac22339
- 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
Benjamin Greiner2025-04-07 16:12:39 +00:00
4f4540169d
Accepting request 1218037 from devel:languages:python
Ana Guerrero2024-10-24 13:45:02 +00:00
54e5e8fa82
- Add patch support-pytest-8.patch: * Do not use the anti-pattern of pytest.warns(None).
Steve Kowalik2024-08-30 02:58:04 +00:00
0a284ff1c1
Accepting request 1152081 from devel:languages:python
Ana Guerrero2024-02-27 21:48:45 +00:00
8483a72c7d
Accepting request 1152080 from home:bnavigator:branches:devel:languages:python
Benjamin Greiner2024-02-27 09:15:19 +00:00
2e17a83918
Accepting request 1140773 from devel:languages:python
Ana Guerrero2024-01-23 21:56:19 +00:00
857e5d3d8d
Accepting request 1140766 from home:alarrosa:branches:devel:languages:python
Sebastian Wagner2024-01-23 07:17:16 +00:00
6cd4788ead
Accepting request 1133685 from devel:languages:python
Ana Guerrero2023-12-17 20:33:19 +00:00
02c9ad66ff
- update to 5.13.2: * Apply the bracket fix from issue #471 only for use_parentheses=True * Confine pre-commit to stages * Fixed colors extras * Fixed integration tests * Fixed normalizing imports from more than one level of parent modules * Remove optional dependencies without extras * Cleanup deprecated extras * Fixed#1989: settings lookup when working in stream based mode * Fixed 80 line length for wemake linter * Add support for Python 3.12 * Fixed assertions in test_git_hook * Removed check for include_trailing_comma for the Hanging Indent wrap mode * Use the standard library tomllib on sufficiently new python * Fixed safety sept 2023 * chore: move configurations to pyproject.toml (#2115) * Fixed typo in README * Update version in pre-commit setup to avoid installation issue with poetry * Skip .pytype directory by default. * Fixed a tip block styling in the Config Files section (#2097) * Fixed#1556: Empty line added between imports that should be * Improved packaging of test files alongside source distribution * Fixed#1548: On rare occasions an unecessary empty line can be * Fixed#1542: Bug in VERTICAL_PREFIX_FROM_MODULE_IMPORT wrap * Goal Zero: (Tickets related to aspirational goal of achieving 0
Dirk Mueller2023-12-17 02:11:43 +00:00
97d5232974
Accepting request 1108059 from devel:languages:python
Ana Guerrero2023-08-31 11:45:38 +00:00
fabc13f91e
Accepting request 1108058 from home:bnavigator:branches:devel:languages:python
Benjamin Greiner2023-08-30 08:23:34 +00:00
6cb1b0e192
osc copypac from project:openSUSE:Factory package:python-isort revision:34, using keep-link, using expand
Dirk Mueller2022-08-10 14:46:26 +00:00
b5fef4efae
- update to version 5.10.1: - Fixed#1819: Occasional inconsistency with multiple src paths. - Fixed#1840: skip_file ignored when on the first docstring line - update to version 5.10.0: - Implemented #1796: Switch to tomli for pyproject.toml configuration loader. - Fixed#1801: CLI bug (--exend-skip-glob, overrides instead of extending). - Fixed#1802: respect PATH customization in nested calls to git. - Fixed#1838: Append only with certain code snippets incorrectly adds imports. - Added official support for Python 3.10 - Potentially breaking changes: - Fixed#1785: _ast module incorrectly excluded from stdlib definition.
Sebastian Wagner2021-11-14 21:10:09 +00:00
b338b31734
Accepting request 928402 from home:bnavigator:branches:devel:languages:python
Benjamin Greiner2021-10-31 16:51:27 +00:00
77da3fc842
Accepting request 910472 from devel:languages:python
Richard Brown
2021-08-11 09:47:05 +00:00
1da55503b3
- update to version 5.9.3: - Improved text of skipped file message to mention gitignore feature. - Made all exceptions pickleable. - Fixed#1779: Pylama integration ignores pylama specific isort config overrides. - Fixed#1781: --from-first CLI flag shouldn't take any arguments. - Fixed#1792: Sorting literals sometimes ignored when placed on first few lines of file. - Fixed#1777: extend_skip is not honored wit a git submodule when skip_gitignore=true.
Sebastian Wagner2021-07-30 08:32:28 +00:00
0b7bb02c6e
- update to version 5.9.1: - Fixed#1758: projects with many files and skip_ignore set can lead to a command-line overload. - update to version 5.9.0: - Improved CLI startup time. - Implemented #1697: Provisional support for PEP 582: skip __pypackages__ directories by default. - Implemented #1705: More intuitive handling of isort:skip_file comments on streams. - Implemented #1737: Support for using action comments to avoid adding imports to individual files. - Implemented #1750: Ability to customize output format lines. - Implemented #1732: Support for custom sort functions. - Implemented #1722: Improved behavior for running isort in atomic mode over Cython source files. - Fixed (https://github.com/PyCQA/isort/pull/1695): added imports being added to doc string in some cases. - Fixed (https://github.com/PyCQA/isort/pull/1714): in rare cases line continuation combined with tabs can output invalid code. - Fixed (https://github.com/PyCQA/isort/pull/1726): isort ignores reverse_sort when force_sort_within_sections is true. - Fixed#1741: comments in hanging indent modes can lead to invalid code. - Fixed#1744: repeat noqa comments dropped when * import and non * imports exist from the same package. - Fixed#1721: repeat noqa comments on separate from lines with force-single-line set, sometimes get dropped. - Goal Zero (Tickets related to aspirational goal of achieving 0 regressions for remaining 5.0.0 lifespan): - Implemented #1394: 100% branch coverage (in addition to line coverage) enforced. - Implemented #1751: Strict typing enforcement (turned on mypy strict mode).
Sebastian Wagner2021-07-04 19:18:19 +00:00
6772e2c265
- Update to Version 5.6.4 * Fixed#1556: Empty line added between imports that should be skipped. - Version 5.6.3 * Improved packaging of test files alongside source distribution (see: https://github.com/PyCQA/isort/pull/1555). - Version 5.6.2 * Fixed#1548: On rare occasions an unecessary empty line can be added when an import is marked as skipped. * Fixed#1542: Bug in VERTICAL_PREFIX_FROM_MODULE_IMPORT wrap mode. * Fixed#1552: Pylama test dependent on source layout. * Goal Zero: (Tickets related to aspirational goal of achieving 0 regressions for remaining 5.0.0 lifespan): * Zope added to integration test suite * Additional testing of CLI (simulate unseekable streams) - now only requires poetry.core as PEP517 backend
Benjamin Greiner2020-10-13 18:44:02 +00:00
f3e23bd15e
- Fix building and installation of exampleprojects for testing
Benjamin Greiner2020-10-09 17:07:53 +00:00
59630a8909
- Fix wheel building and installation for testing exampleprojects
Benjamin Greiner2020-10-09 16:52:28 +00:00
e812f0e4f5
- Update to 5.6.1 * Fixed#1546: Unstable (non-idempotent) behavior with certain src trees. - Changelog for 5.6.0 * Implemented #1433: Provide helpful feedback in case a custom config file is specified without a configuration. * Implemented #1494: Default to sorting imports within .pxd files. * Implemented #1502: Improved float-to-top behavior when there is an existing import section present at top-of-file. * Implemented #1511: Support for easily seeing all files isort will be ran against using isort . --show-files. * Implemented #1487: Improved handling of encoding errors. * Improved handling of unsupported configuration option errors (see #1475). * Fixed#1463: Better interactive documentation for future option. * Fixed#1461: Quiet config option not respected by file API in some circumstances. * Fixed#1482: pylama integration is not working correctly out- of-the-box. * Fixed#1492: --check does not work with stdin source. * Fixed#1499: isort gets confused by single line, multi-line style comments when using float-to-top. * Fixed#1525: Some warnings can't be disabled with --quiet. * Fixed#1523: in rare cases isort can ignore direct from import if as import is also on same line. + Potentially breaking changes: * Implemented #1540: Officially support Python 3.9 stdlib imports by default.
Benjamin Greiner2020-10-08 16:56:36 +00:00
7250190ab6
- Update to 5.5.3 * Fixed#1488: in rare cases isort can mangle yield from or raise from statements. - Version 5.5.2 * Fixed#1469: --diff option is ignored when input is from stdin.
Benjamin Greiner2020-09-21 11:49:51 +00:00
2cbf152fef
- Update to 5.4.2: * Fixed#1383: Known other does not work anymore with .editorconfig. * Fixed: Regression in first known party path expansion. * Fixed#1381: --combine-as loses # noqa in different circumstances. * Implemented #1373: support for length sort only of direct (AKA straight) imports. * Fixed#1321: --combine-as loses # noqa. * Fixed#1375: --dont-order-by-type CLI broken.
Steve Kowalik2020-08-19 04:18:44 +00:00
c0ef1cbcaa
- update to version 5.3.2: - Fixed incorrect warning code (W503->W0503). - update to version 5.3.1: - Improve upgrade warnings to be less noisy and point to error codes for easy interoperability with Visual Studio Code (see: #1363).
Sebastian Wagner2020-08-08 12:22:26 +00:00
29259fe636
- do not test hypothesmith integration because we lack python-libcst
Benjamin Greiner2020-08-06 13:54:40 +00:00
ad75e06e02
- Update to 5.3.0 * Implemented ability to treat all or select comments as code (issue #1357) * Implemented ability to use different configs for different file extensions (issue #1162) * Implemented ability to specify the types of imports (issue #1181) * Implemented ability to dedup import headings (issue #953) * Added experimental support for sorting literals (issue #1358) * Added experimental support for sorting and deduping groupings of assignments. * Improved handling of deprecated single line variables for usage with Visual Studio Code (issue #1363) * Improved handling of mixed newline forms within same source file. * Improved error handling for known sections. * Improved API consistency, returning a boolean value for all modification API calls to indicate if changes were made. * Fixed#1366: spurious errors when combining skip with --gitignore. * Fixed#1359: --skip-gitignore does not honor ignored symlink Internal Development: * Initial hypothesmith powered test to help catch unexpected syntax parsing and output errors (thanks @Zac-HD!)
Benjamin Greiner2020-08-06 09:26:05 +00:00
a98607eee9
- update to version 5.2.2: - Fixed#1356: return status when arguments are passed in without files or a content stream.
Sebastian Wagner2020-07-30 11:51:30 +00:00
8aae2ead79
Accepting request 823366 from home:bnavigator:branches:devel:languages:python
Benjamin Greiner2020-07-29 10:42:13 +00:00
5fdf9d6ac0
Accepting request 823224 from home:bnavigator:branches:devel:languages:python
Benjamin Greiner2020-07-28 20:21:49 +00:00
b1a682d120
- add git as build dependency, fixes a test issue.
Sebastian Wagner2020-07-28 19:26:39 +00:00
03cf85a92a
- update to version 5.2.0: - Implemented #1335: Official API for diff capturing. - Implemented #1331: Warn when sections don't match up. - Implemented #1261: By popular demand, filter_files can now be set in the config option. - Implemented #960: Support for respecting git ignore via "--gitignore" or "skip_gitignore=True". - Implemented #727: Ability to only add imports if existing imports exist. - Implemented #970: Support for custom sharable isort profiles. - Implemented #1214: Added support for git_hook lazy option (Thanks @sztamas!) - Implemented #941: Added an additional multi_line_output mode for more compact formatting (Thanks @sztamas!) - Implemented #1020: Option for LOCALFOLDER. - Implemented #1353: Added support for output formatting plugins. - # isort: split can now be used at the end of an import line. - Fixed#1339: Extra indent is not preserved when isort:skip is used in nested imports. - Fixed#1348: --diff works incorrectly with files that have CRLF line endings. - Improved code repositories usage of pylint tags (#1350).
Sebastian Wagner2020-07-27 20:36:16 +00:00
84d8df981c
- update to version 5.1.4: - Fixed issue #1333: Use of wrap_length raises an exception about it not being lower or equal to line_length. - Fixed issue #1330: Ensure stdout can be stubbed dynamically for show_unified_diff function.
Sebastian Wagner2020-07-20 18:46:07 +00:00
d95d54a857
- update to version 5.1.3 * Fixed issue #1329: Fix comments duplicated when --fass option is set.
Benjamin Greiner2020-07-19 13:44:18 +00:00
38b1aa47e1
- update to version 5.1.2: - Fixed issue #1219 / #1326: Comments not wrapped for long lines - Fixed issue #1156: Bug related to isort:skip usage followed by a multiline comment block - update to version 5.1.1: - Fixed issue #1322: Occasionally two extra newlines before comment with -n & --fss. - Fixed issue #1189: --diff broken when reading from standard input.
Sebastian Wagner2020-07-18 10:17:45 +00:00
01f3c6af96
- update to version 5.1.0: - isort now throws an exception if an invalid settings path is given (issue #1174). - Implemented support for automatic redundant alias removal (issue #1281). - Implemented experimental support for floating all imports to the top of a file (issue #1228) - Fixed#1178: support for semicolons in decorators. - Fixed#1315: Extra newline before comment with -n + --fss. - Fixed#1192: -k or --keep-direct-and-as-imports option has been deprecated as it is now always on. - Formatting changes implied: - Fixed#1280: rewrite of as imports changes the behavior of the imports.
Sebastian Wagner2020-07-15 20:23:05 +00:00
8497d09f33
Accepting request 820947 from home:bnavigator:branches:devel:languages:python
Benjamin Greiner2020-07-14 15:51:34 +00:00
be652da2d9
Accepting request 820730 from home:bnavigator:branches:devel:languages:python
Sebastian Wagner2020-07-13 19:54:31 +00:00
56f1a4bec7
- Update to version 5.0.9: - Fixed#1301: Import headings in nested sections leads to check errors - Update to version 5.0.8: - Fixed#1277 & #1278: New line detection issues on Windows. - Fixed#1294: Fix bundled git hook. - Update to version 5.0.7: - Fixed#1306: unexpected --diff behavior. - Fixed#1279: Fixed NOQA comment regression. - Update to version 5.0.6: - Fixed#1302: comments and --trailing-comma can generate invalid code. - Fixed#1293: extra new line in indented imports, when immediately followed by a comment. - Fixed#1304: isort 5 no longer recognises sre_parse as a stdlib module. - Fixed#1300: add_imports moves comments following import section. - Fixed#1276: Fix a bug that creates only one line after triple quotes. - Update to version 5.0.5: - Fixed#1285: packaging issue with bundling tests via poetry. - Fixed#1284: Regression when sorting .pyi files from CLI using black profile. - Fixed#1275 & #1283: Blank line after docstring removed. - Fixed#1298: CLI Help out of date with isort 5. - Fixed#1290: Unecessary blank lines above nested imports when import comments turned on. - Fixed#1297: Usage of --add-imports alongside --check is broken. - Fixed#1289: Stream usage no longer auto picking up config file from current working directory. - Fixed#1296: Force_single_line setting removes immediately following comment line. - Fixed#1295: ensure_newline_before_comments doesnt work with force_sort_within_sections. - Setting not_skip will no longer immediately fail but instead give user a warning and direct to upgrade docs. - Update to version 5.0.4: - Fixed#1264: a regression with comment handling and force_sort_within_sections config option - Added warning for deprecated CLI flags and linked to upgrade guide.
Sebastian Wagner2020-07-12 15:15:00 +00:00