Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update precommit hook PyCQA/isort to v5.9.3 #11

Merged
merged 1 commit into from Aug 26, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 26, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
PyCQA/isort repository minor 5.5.2 -> 5.9.3

Release Notes

PyCQA/isort

v5.9.3

Compare Source

  • 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.

v5.9.2

Compare Source

  • Improved behavior of isort --check --atomic against Cython files.
    • Fixed #​1769: Future imports added below assignments when no other imports present.
    • Fixed #​1772: skip-gitignore will check files not in the git repository.
    • Fixed #​1762: in some cases when skip-gitignore is set, isort fails to skip any files.
    • Fixed #​1767: Encoding issues surfacing when invalid characters set in __init__.py files during placement.
    • Fixed #​1771: Improved handling of skips against named streamed in content.

v5.9.1

Compare Source

  • Fixed #​1758: projects with many files and skip_ignore set can lead to a command-line overload.

v5.9.0

Compare Source

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).

v5.8.0

Compare Source

  • Fixed #​1631: as import comments can in some cases be duplicated.
    • Fixed #​1667: extra newline added with float-to-top, after skip, in some cases.
    • Fixed #​1594: incorrect placement of noqa comments with multiple from imports.
    • Fixed #​1566: in some cases different length limits for dos based line endings.
    • Implemented #​1648: Export MyPY type hints.
    • Implemented #​1641: Identified import statements now return runnable code.
    • Implemented #​1661: Added "wemake" profile.
    • Implemented #​1669: Parallel (-j) now defaults to number of CPU cores if no value is provided.
    • Implemented #​1668: Added a safeguard against accidental usage against /.
    • Implemented #​1638 / #​1644: Provide a flag --overwrite-in-place to ensure same file handle is used after sorting.
    • Implemented #​1684: Added support for extending skips with --extend-skip and --extend-skip-glob.
    • Implemented #​1688: Auto identification and skipping of some invalid import statements.
    • Implemented #​1645: Ability to reverse the import sorting order.
    • Implemented #​1504: Added ability to push star imports to the top to avoid overriding explicitly defined imports.
    • Documented #​1685: Skip doesn't support plain directory names, but skip_glob does.

v5.7.0

Compare Source

  • Fixed #​1612: In rare circumstances an extra comma is added after import and before comment.
    • Fixed #​1593: isort encounters bug in Python 3.6.0.
    • Implemented #​1596: Provide ways for extension formatting and file paths to be specified when using streaming input from CLI.
    • Implemented #​1583: Ability to output and diff within a single API call to isort.file.
    • Implemented #​1562, #​1592 & #​1593: Better more useful fatal error messages.
    • Implemented #​1575: Support for automatically fixing mixed indentation of import sections.
    • Implemented #​1582: Added a CLI option for skipping symlinks.
    • Implemented #​1603: Support for disabling float_to_top from the command line.
    • Implemented #​1604: Allow toggling section comments on and off for indented import sections.

v5.6.4

Compare Source

  • Fixed #​1556: Empty line added between imports that should be skipped.

v5.6.3

Compare Source

v5.6.2

Compare Source

  • 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)

v5.6.1

Compare Source

  • Fixed #​1546: Unstable (non-idempotent) behavior with certain src trees.

v5.6.0

Compare Source

  • 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.
  • Fixed #​1443: Incorrect third vs first party categorization - namespace packages.
  • Fixed #​1486: "Google" profile is not quite Google style.
  • Fixed "PyCharm" profile to always add 2 lines to be consistent with what PyCharm "Optimize Imports" does.
Goal Zero: (Tickets related to aspirational goal of achieving 0 regressions for remaining 5.0.0 lifespan):
  • Implemented #​1472: Full testing of stdin CLI Options
  • Added additional branch coverage.
  • More projects added to integration test suite.

v5.5.5

Compare Source

  • Fixed #​1539: in extremely rare cases isort 5.5.4 introduces syntax error by removing closing paren.

v5.5.4

Compare Source

  • Fixed #​1507: in rare cases isort changes the content of multiline strings after a yield statement.
    • Fixed #​1505: Support case where known_SECTION points to a section not listed in sections.

v5.5.3

Compare Source

  • Fixed #​1488: in rare cases isort can mangle yield from or raise from statements.

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@michaeltinsley michaeltinsley merged commit bc14dcb into main Aug 26, 2021
@michaeltinsley michaeltinsley deleted the renovate/pycqa-isort-5.x branch August 26, 2021 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants