SHA256
1
0
forked from pool/python-isort

126 Commits

Author SHA256 Message Date
Dominique Leuenberger
c3f5a885f0 Accepting request 867793 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/867793
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=24
2021-02-02 13:24:24 +00:00
b7f382688e Accepting request 867792 from home:bnavigator:branches:devel:languages:python
- Fix test suite: the location of the built wheel changed

OBS-URL: https://build.opensuse.org/request/show/867792
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=75
2021-01-29 20:15:50 +00:00
Dominique Leuenberger
3363b6ab37 Accepting request 865874 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/865874
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=23
2021-01-27 17:56:58 +00:00
Sebastian Wagner
28eb1bd06d Accepting request 865867 from home:etamPL:branches:devel:languages:python
Don't recommend python-hypothesmith.

It's not used anywhere, beside internal tests.

Also hypothesmith pulls hypothesis, which recommends a ton of other packages. In the end if you want to install a simple pylint (which requires isort), you get recommended pandas, Django and QtPy.

OBS-URL: https://build.opensuse.org/request/show/865867
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=73
2021-01-22 09:10:35 +00:00
Dominique Leuenberger
f448569b11 Accepting request 859773 from devel:languages:python
- Update to Version 5.7.0
  * 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.

OBS-URL: https://build.opensuse.org/request/show/859773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=22
2021-01-04 18:06:23 +00:00
6dcda2c6ed Accepting request 859770 from home:bnavigator:branches:devel:languages:python
- Update to Version 5.7.0
  * 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.

OBS-URL: https://build.opensuse.org/request/show/859770
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=71
2021-01-02 00:22:56 +00:00
Dominique Leuenberger
f3ce8b5c0c Accepting request 855002 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/855002
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=21
2020-12-16 09:59:04 +00:00
1395ae55ad Accepting request 855001 from home:bnavigator:branches:devel:languages:python
- Fix setup of test environment suitable for multiple
  python flavors gh#openSUSE/python-rpm-macros#66

OBS-URL: https://build.opensuse.org/request/show/855001
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=69
2020-12-11 23:42:57 +00:00
Dominique Leuenberger
1609702f0b Accepting request 841728 from devel:languages:python
- 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
  
- Fix building and installation of exampleprojects for testing
- 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.
  * 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:
  * Implemented #1472: Full testing of stdin CLI Options
  * Added additional branch coverage.
  * More projects added to integration test suite. 
- Changelog for 5.5.5
  * Fixed #1539: in extremely rare cases isort 5.5.4 introduces
    syntax error by removing closing paren.
- Changelog for 5.5.4
  * 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.
- Use upstream's way of PIP with Poetry PEP517 backend to install 
  the package so we can use Github archive only
- A Poetry update required to modify the examples installation for
  testing
- Test flavor does not depend on installed base package anymore
- 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.

OBS-URL: https://build.opensuse.org/request/show/841728
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=20
2020-10-29 08:48:03 +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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=67
2020-10-13 18:44:02 +00:00
f3e23bd15e - Fix building and installation of exampleprojects for testing
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=66
2020-10-09 17:07:53 +00:00
59630a8909 - Fix wheel building and installation for testing exampleprojects
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=65
2020-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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=64
2020-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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=63
2020-09-21 11:49:51 +00:00
Dominique Leuenberger
4d4b427edc Accepting request 833014 from devel:languages:python
- skip a flaky test gh#PyCQA/isort#1466
- Update to 5.5.1
- Version 5.5.0
- Github repo moved to PyCQA/isort
- URL moved to https://pycqa.github.io/isort/

OBS-URL: https://build.opensuse.org/request/show/833014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=19
2020-09-10 20:48:24 +00:00
846c856f95 - skip a flaky test gh#PyCQA/isort#1466
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=61
2020-09-08 14:15:58 +00:00
338f5b7682 Accepting request 832975 from home:bnavigator:branches:devel:languages:python
- Update to 5.5.1
- Version 5.5.0
- Github repo moved to PyCQA/isort
- URL moved to https://pycqa.github.io/isort/

OBS-URL: https://build.opensuse.org/request/show/832975
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=60
2020-09-08 12:27:21 +00:00
Dominique Leuenberger
80d9d894fa Accepting request 829966 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/829966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=18
2020-09-01 18:06:45 +00:00
57c5e37963 Accepting request 829965 from home:bnavigator:branches:devel:languages:python
- enable hypothesmith integration tests
- clarify test data source and multibuild strategy

OBS-URL: https://build.opensuse.org/request/show/829965
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=58
2020-08-27 11:17:00 +00:00
Dominique Leuenberger
262cd4a295 Accepting request 827700 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/827700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=17
2020-08-25 10:38:08 +00:00
Steve Kowalik
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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=56
2020-08-19 04:18:44 +00:00
Dominique Leuenberger
ad266cb602 Accepting request 825424 from devel:languages:python
- update to version 5.3.2:

Let's see which package is missing in ringX for test flavor

OBS-URL: https://build.opensuse.org/request/show/825424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=16
2020-08-13 08:12:49 +00:00
Sebastian Wagner
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).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=54
2020-08-08 12:22:26 +00:00
29259fe636 - do not test hypothesmith integration because we lack python-libcst
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=53
2020-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!)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=52
2020-08-06 09:26:05 +00:00
Sebastian Wagner
a98607eee9 - update to version 5.2.2:
- Fixed #1356: return status when arguments are passed in without files or a content stream.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=51
2020-07-30 11:51:30 +00:00
8aae2ead79 Accepting request 823366 from home:bnavigator:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/823366
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=50
2020-07-29 10:42:13 +00:00
5fdf9d6ac0 Accepting request 823224 from home:bnavigator:branches:devel:languages:python
- use poetry to install example projects. fixes the two remaining
  test issues

needs SR 823222
and SR 823223

OBS-URL: https://build.opensuse.org/request/show/823224
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=49
2020-07-28 20:21:49 +00:00
Sebastian Wagner
b1a682d120 - add git as build dependency, fixes a test issue.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=48
2020-07-28 19:26:39 +00:00
Sebastian Wagner
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).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=47
2020-07-27 20:36:16 +00:00
Sebastian Wagner
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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=46
2020-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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=45
2020-07-19 13:44:18 +00:00
Sebastian Wagner
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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=44
2020-07-18 10:17:45 +00:00
Sebastian Wagner
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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=43
2020-07-15 20:23:05 +00:00
8497d09f33 Accepting request 820947 from home:bnavigator:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/820947
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=42
2020-07-14 15:51:34 +00:00
Sebastian Wagner
be652da2d9 Accepting request 820730 from home:bnavigator:branches:devel:languages:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/820730
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=41
2020-07-13 19:54:31 +00:00
Sebastian Wagner
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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=40
2020-07-12 15:15:00 +00:00
Sebastian Wagner
34bd277513 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=39
2020-07-05 11:37:24 +00:00
Sebastian Wagner
748666cc4a - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=38
2020-07-04 12:16:59 +00:00
Dominique Leuenberger
9464964741 Accepting request 808784 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/808784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=15
2020-06-05 17:58:38 +00:00
Tomáš Chvátal
b8097c954c Accepting request 808762 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/808762
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=36
2020-05-25 13:31:50 +00:00
Dominique Leuenberger
9224c128bf Accepting request 784839 from devel:languages:python
Staging:I py2

OBS-URL: https://build.opensuse.org/request/show/784839
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=14
2020-03-26 23:23:51 +00:00
Tomáš Chvátal
0404c37c3b - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=34
2020-03-14 08:32:33 +00:00
Yuchen Lin
db7b051631 Accepting request 730455 from devel:languages:python
- Skip test test_pipfile_finder upstream is aware for 6 months
  and just pinned older version of tomlkit

OBS-URL: https://build.opensuse.org/request/show/730455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=13
2019-09-17 11:34:27 +00:00
Tomáš Chvátal
0b64c0b57a - Skip test test_pipfile_finder upstream is aware for 6 months
and just pinned older version of tomlkit

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=32
2019-09-12 17:51:23 +00:00
Dominique Leuenberger
7f2b9c76a4 Accepting request 713859 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/713859
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=12
2019-07-30 10:59:55 +00:00
Sebastian Wagner
fb6d9e7120 - update to version 4.3.21:
- Fixed issue #957 - Long aliases and use_parentheses generates invalid syntax

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=30
2019-06-30 13:20:01 +00:00
Dominique Leuenberger
42b5e4478f Accepting request 705236 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/705236
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=11
2019-05-27 06:30:29 +00:00
Tomáš Chvátal
ab50ad9df0 Accepting request 705235 from home:pgajdos
- version update to 4.3.20
  - Fixed issue #948 - Pipe redirection broken on Python2.7
  - Fixed issue #942 - correctly handle pyi (Python Template Files) to match `black` output

OBS-URL: https://build.opensuse.org/request/show/705235
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=28
2019-05-24 12:21:42 +00:00
Dominique Leuenberger
ad764f770f Accepting request 701237 from devel:languages:python
- Again tweak failing tests

- update to 4.3.18:
 - Fixed an issue with parsing files that contain unicode characters in Python 2
 - Fixed issue #924 - Pulling in pip internals causes depreciation warning
 - Fixed issue #938 - Providing a way to filter explicitly passed in files via configuration settings (`--filter-files`)
 - Improved interoperability with toml configuration files

- skip failing tests
- Update to 4.3.17:
  - Fixed issue #905 & #919: Import section headers behaving
    strangely

- Add missing recommended dependencies

- update to version 4.3.16:
 - Fixed issue #909 - skip and skip-glob are not enforced when using settings-path.
 - Fixed issue #907 - appdirs optional requirement does not correctly specify version
 - Fixed issue #902 - Too broad warning about missing toml package
 - Fixed issue #778 - remove `user` from known standard library as it's no longer in any supported Python version.

OBS-URL: https://build.opensuse.org/request/show/701237
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=10
2019-05-08 13:15:53 +00:00