Revisions of python-isort

Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 56)
- 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.
buildservice-autocommit accepted request 825424 from Benjamin Greiner's avatar Benjamin Greiner (bnavigator) (revision 55)
baserev update by copy to link target
Sebastian Wagner's avatar Sebastian Wagner (sebix) committed (revision 54)
- 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).
Benjamin Greiner's avatar Benjamin Greiner (bnavigator) committed (revision 53)
- do not test hypothesmith integration because we lack python-libcst
Benjamin Greiner's avatar Benjamin Greiner (bnavigator) committed (revision 52)
- 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!)
Sebastian Wagner's avatar Sebastian Wagner (sebix) committed (revision 51)
- update to version 5.2.2:
 - Fixed #1356: return status when arguments are passed in without files or a content stream.
Benjamin Greiner's avatar Benjamin Greiner (bnavigator) accepted request 823366 from Benjamin Greiner's avatar Benjamin Greiner (bnavigator) (revision 50)
- update to version 5.2.1
  * Update precommit to default to filtering files that are defined in skip.
  * Improved relative path detection for skip config usage.
  * Added recursive symbolic link protection.
  * Implemented #1177: Support for color output using --color.
  * Implemented recursive symlink detection support.
Benjamin Greiner's avatar Benjamin Greiner (bnavigator) accepted request 823224 from Benjamin Greiner's avatar Benjamin Greiner (bnavigator) (revision 49)
- use poetry to install example projects. fixes the two remaining
  test issues

needs SR 823222
and SR 823223
Sebastian Wagner's avatar Sebastian Wagner (sebix) committed (revision 48)
- add git as build dependency, fixes a test issue.
Sebastian Wagner's avatar Sebastian Wagner (sebix) committed (revision 47)
- 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 Wagner's avatar Sebastian Wagner (sebix) committed (revision 46)
- 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.
Benjamin Greiner's avatar Benjamin Greiner (bnavigator) committed (revision 45)
- update to version 5.1.3
  * Fixed issue #1329: Fix comments duplicated when --fass option is set.
Sebastian Wagner's avatar Sebastian Wagner (sebix) committed (revision 44)
- 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 Wagner's avatar Sebastian Wagner (sebix) committed (revision 43)
- 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.
Benjamin Greiner's avatar Benjamin Greiner (bnavigator) accepted request 820947 from Benjamin Greiner's avatar Benjamin Greiner (bnavigator) (revision 42)
- reenable test_pipfile_finder
  needs updated requirementslib gh#timothycrosley/isort#1317
  (according to requirementslib changelog probably by fix in 1.5.4)
- upstream git tag has been updated
Sebastian Wagner's avatar Sebastian Wagner (sebix) accepted request 820730 from Benjamin Greiner's avatar Benjamin Greiner (bnavigator) (revision 41)
- the tests are not packaged on PyPI. Use github sources. (Need to
  reference commit directly (gh#timothycrosley/isort#1316)
- update test requirements
- reenable most passing tests except one (gh#timothycrosley/isort#1317)
- update package description
- new version does not build/test on Python 2 (define skip for older distros)
Sebastian Wagner's avatar Sebastian Wagner (sebix) committed (revision 40)
- 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 Wagner's avatar Sebastian Wagner (sebix) committed (revision 39)
- Update to version 5.0.3:
 - Fixed setup.py command incorrectly passing check=True as a configuration parameter (see: https://github.com/timothycrosley/isort/issues/1258)
 - Fixed missing patch version
 - Fixed issue #1253: Atomic fails when passed in not readable output stream
Sebastian Wagner's avatar Sebastian Wagner (sebix) committed (revision 38)
- update to version 5.0.2:
 - Ensured black profile was complete, adding missing line_length definition.
- update to version 5.0.1:
 - Fixed a runtime error in a vendored dependency (toml).
- update to version 5.0.0:
 - Breaking changes:
  - isort now requires Python 3.6+ to run but continues to support formatting on ALL versions of python including Python 2 code.
  - isort deprecates official support for Python 3.4, removing modules only in this release from known_standard_library:
  -     user
  - Config files are no longer composed on-top of each-other. Instead the first config file found is used.
  -     Since there is no longer composition negative form settings (such as --dont-skip) are no longer required and have been removed.
  - Two-letter shortened setting names (like ac for atomic) now require two dashes to avoid ambiguity: --ac.
  - For consistency with other tools -v now is shorthand for verbose and -V is shorthand for version. See Issue: #1067.
  - length_sort_{section_name} config usage has been deprecated. Instead length_sort_sections list can be used to specify a list of sections that need to be length sorted.
  - safety_excludes and unsafe have been deprecated
  - Config now includes as default full set of safety directories defined by safety excludes.
  - --recursive option has been removed. Directories passed in are now automatically sorted recursive.
  - --apply option has been removed as it is the default behaviour.
  - isort now does nothing, beyond giving instructions and exiting status code 0, when ran with no arguments.
  -     a new --interactive flag has been added to enable the old style behaviour.
  - isort now works on contiguous sections of imports, instead of one whole file at a time.
  - isort now formats all nested "as" imports in the "from" form. import x.y as a becomes from x import y as a.
  - keep_direct_and_as_imports option now defaults to True.
  - appdirs is no longer supported. Unless manually specified, config should be project config only.
  - toml is now installed as a vendorized module, meaning pyproject.toml based config is always supported.
  - Completely new Python API, old version is removed and no longer accessible.
  - New module placement logic and module fully replaces old finders. Old approach is still available via --old-finders.
 - Internal:
  - isort now utilizes mypy and typing to filter out typing related issues before deployment.
  - isort now utilizes black internally to ensure more consistent formatting.
buildservice-autocommit accepted request 808784 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 37)
baserev update by copy to link target
Displaying revisions 61 - 80 of 116
openSUSE Build Service is sponsored by