SHA256
1
0
forked from pool/python-isort

60 Commits

Author SHA256 Message Date
b338b31734 Accepting request 928402 from home:bnavigator:branches:devel:languages:python
- Use custom hypothesis profile obs in order to suppress failing
  health checks

OBS-URL: https://build.opensuse.org/request/show/928402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=84
2021-10-31 16:51:27 +00:00
Sebastian Wagner
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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=83
2021-07-30 08:32:28 +00:00
3d35bd956a Accepting request 905112 from home:bnavigator:branches:devel:languages:python
-  update to version 5.9.2
  * 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.
- Skip benchmarks
- Update test requirements:
  * test expects example_isort_sorting_plugin with python-natsort
    installed
  * Python 3.9 tests fail without numpy installed because of some
    typing check.

OBS-URL: https://build.opensuse.org/request/show/905112
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=82
2021-07-09 19:51:00 +00:00
Sebastian Wagner
f217ee73e4 remove file, got in with pull
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=81
2021-07-04 19:19:10 +00:00
Sebastian Wagner
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).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=80
2021-07-04 19:18:19 +00:00
266c5c74b3 Accepting request 880603 from home:bnavigator:branches:devel:languages:python
- Don't test requirementslib on python39. Isort calls it a
  "deprecated finder" anyway. Colorama needs to be pulled in
  seperately then. gh#sarugaku/requirementslib#288

OBS-URL: https://build.opensuse.org/request/show/880603
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=78
2021-03-22 21:34:44 +00:00
6c4930b348 Accepting request 880409 from home:bnavigator:branches:devel:languages:python
- Update to version 5.8.0
  * 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.

OBS-URL: https://build.opensuse.org/request/show/880409
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=77
2021-03-21 19:44:10 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Tomáš Chvátal
8c822730a4 - Again tweak failing tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=26
2019-05-07 08:06:31 +00:00
Sebastian Wagner
f93a23df12 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=25
2019-05-03 18:10:29 +00:00
fb8cc2097d - skip failing tests
- Update to 4.3.17:
  - Fixed issue #905 & #919: Import section headers behaving
    strangely

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=24
2019-04-29 20:22:27 +00:00
Tomáš Chvátal
b5de76d209 - Add missing recommended dependencies
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=22
2019-03-29 09:42:00 +00:00
Sebastian Wagner
85cf5fa96b - 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/package/show/devel:languages:python/python-isort?expand=0&rev=21
2019-03-24 08:37:51 +00:00
Tomáš Chvátal
c3bbee0533 - Update to 4.3.15:
* Fixed a regression with handling streaming input from pipes (Issue #895)
  * Fixed handling of \x0c whitespace character (Issue #811)
  * Improved CLI documentation
  * Fixed a regression with /directory/.py style patterns
  * Fixed the inability to accurately determine import section when a mix of conda and virtual environments are used.
  * Fixed some output being printed even when --quiet mode is enabled.
  * Fixed issue #890 interoperability with PyCharm by allowing case sensitive non type grouped sorting.
  * Fixed issue #889 under some circumstances isort will incorrectly add a new line at the beginning of a file.
  * Fixed issue #885 many files not being skipped according to set skip settings.
  * Fixed issue #842 streaming encoding improvements.
  * Fix error caused when a virtual environment not detected
  * Fixed issue #876: confused by symlinks pointing to virtualenv gives FIRSTPARTY not THIRDPARTY
  * Fixed issue #873: current version skips every file on travis
  * Additional caching to reduce performance regression introduced in 4.3.5
  * Improved handling of pex files and other binary Python files

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=20
2019-03-13 14:23:09 +00:00
Tomáš Chvátal
77276e56b4 - Update to 4.3.10:
* Fixed Windows incompatibilities (Issue #835)
  * Fixed relative import sorting bug (Issue #417)
  * Fixed "no_lines_before" to also be respected from previous empty sections.
  * Fixed slow-down introduced by finders mechanism by adding a LRU cache (issue #848)
  * Fixed issue #842 default encoding not-set in Python2
  * Restored Windows automated testing
  * Added Mac automated testing

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=18
2019-03-04 13:28:09 +00:00
Tomáš Chvátal
7e71238106 - Fix multibuild name
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=16
2019-03-04 11:05:46 +00:00