summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2115 from SauravMaheshkar/mainHEADmainstaticdev2023-04-013-28/+26
|\ | | | | chore: move configurations to `pyproject.toml`
| * Update pyproject.tomlstaticdev2023-04-011-1/+1
| |
| * Update pyproject.tomlstaticdev2023-04-011-1/+1
| |
| * chore: move isort configuration to pyproject.tomlSaurav Maheshkar2023-03-302-5/+7
| |
| * chore: move coverage configuration to pyproject.tomlSaurav Maheshkar2023-03-302-21/+17
|/
* Merge pull request #2112 from stefmolin/stefmolin-patch-1staticdev2023-03-221-2/+2
|\ | | | | Fix typo in README
| * Fix typo in READMEStefanie Molin2023-03-211-2/+2
|/
* Merge pull request #2103 from stefmolin/patch-1Timothy Edmund Crosley2023-03-011-2/+2
|\ | | | | Update version in pre-commit setup to avoid installation issue with poetry
| * Update version in pre-commit setup to avoid installation issue with poetry.Stefanie Molin2023-03-011-2/+2
|/ | | Didn't update to 5.12.0 to keep Python 3.7 support.
* Merge pull request #2098 from manueljacob/skip-.pytype_directoryTimothy Edmund Crosley2023-02-222-1/+2
|\ | | | | Skip .pytype directory by default.
| * Skip .pytype directory by default.Manuel Jacob2023-02-212-1/+2
| | | | | | | | Pytype stores .pyi files in .pytype that isort shouldn’t check or touch.
* | Merge pull request #2089 from PyCQA/removal/unused-extrasstaticdev2023-02-215-989/+856
|\ \ | | | | | | Cleanup deprecated extras
| * \ Fix linting issuesstaticdev2023-02-217-53/+40
| |\ \ | |/ / |/| |
* | | Merge pull request #2097 from Klavionik/fix-config-files-docsTimothy Edmund Crosley2023-02-201-1/+1
|\ \ \ | | | | | | | | Fix a tip block styling in the Config Files section
| * | | Properly indent the last tip block in the Config Files sectionRoman Vlasenko2023-02-151-1/+1
| | |/ | |/|
* | | Ignore new py test raising rule for now, so CI passesTimothy Crosley2023-02-191-1/+2
| | |
* | | Black formattingTimothy Crosley2023-02-196-7/+1
| | |
* | | Fix mypy errorsTimothy Crosley2023-02-191-2/+2
| | |
* | | Merge branch 'main' of https://github.com/timothycrosley/isortTimothy Crosley2023-02-254-55/+37
|\ \ \ | |/ /
| * | Merge pull request #2090 from PyCQA/dependabot/pip/ipython-8.10.0staticdev2023-02-111-6/+6
| |\ \ | | | | | | | | Bump ipython from 8.7.0 to 8.10.0
| | * | Bump ipython from 8.7.0 to 8.10.0dependabot[bot]2023-02-111-6/+6
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [ipython](https://github.com/ipython/ipython) from 8.7.0 to 8.10.0. - [Release notes](https://github.com/ipython/ipython/releases) - [Commits](https://github.com/ipython/ipython/compare/8.7.0...8.10.0) --- updated-dependencies: - dependency-name: ipython dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
| * | Merge pull request #1995 from kaste/less-cacheTimothy Edmund Crosley2023-02-093-15/+1
| |\ \ | | | | | | | | Do not cache configuration files
| | * | Fix type of `_get_config_data`herr kaste2023-02-081-1/+1
| | | |
| | * | Do not cache configuration filesherr kaste2023-02-083-14/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #1994 isort can run in long processes when used in an editor. In that scenario it is confusing for users when editing a configuration file does not change isorts outcome. Remove the caches in `settings.py` completely to re-read the configuration on each run. This is safe for the CLI case as we here either use the `Trie` implementation which collects all known configuration files beforehand, or we exactly construct one `Config` object based on the first filename, the working dir, or the explicit `settings_path|file` settings. Not caching is therefore more efficient for the CLI case and more useful for the editor case.
* | | poetry updateTimothy Crosley2023-02-151-891/+895
|/ /
| * Cleanup optional dependency not usedstaticdev2023-02-102-46/+7
| |
| * Restrict bugbearstaticdev2023-02-092-6/+6
| |
| * Cleanup deprecated extrasstaticdev2023-02-0910-369/+269
|/
* Add initial changelog entry for 5.12.1Timothy Crosley2023-02-041-0/+3
|
* ReformattingTimothy Crosley2023-02-031-2/+2
|
* Merge pull request #1992 from kaste/fix-1989Timothy Edmund Crosley2023-02-031-1/+3
|\ | | | | Derive `settings_path` from `--filename`
| * Derive `settings_path` from `--filename`herr kaste2022-11-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #1989 `--filename` is a shortcut setting used only in the stdin case to set the `settings_path`. Generally, `--settings-path=<file_path>` == `--filename=<filename>` should hold. This functionality was removed in 09734212 (Reuse config when items passed in through stdin as used when items passed in explicitly).
| * Remove redundant `os.getcwd()` callherr kaste2022-11-111-1/+1
| | | | | | | | | | Remove the or-clause because `os.path.abspath(".")` equals `os.getcwd()`.
* | Update pre-commit hooksTimothy Crosley2023-01-311-1/+1
| |
* | Add release notes for 5.11.5 hotfix releaseTimothy Crosley2023-01-301-0/+3
| |
* | Merge pull request #2082 from DjLegolas/issue/2080Timothy Edmund Crosley2023-01-291-1/+1
|\ \ | | | | | | Fix year of version 5.12.0 in CHANGELOG.md
| * | Fix year of version 5.12.0 in CHANGELOG.mdDjLegolas2023-01-291-1/+1
|/ /
* | Fix changelog / version to a minor bump due to the size of the change5.12.0Timothy Crosley2023-01-282-3/+5
| |
* | Bump version to 5.11.5Timothy Crosley2023-01-282-1/+5
| |
* | Formatting fixTimothy Crosley2023-01-281-1/+4
| |
* | Merge pull request #2078 from jooola/fix_poetry_validationTimothy Edmund Crosley2023-01-282-10/+12
|\ \ | | | | | | Fix poetry pip-shims extras dependency
| * | fix: poetry pip-shims extras dependencyjo2023-01-282-10/+12
|/ / | | | | | | With poetry-core>=1.5.0, the dependencies in extras must be present in the main dependency group.
* | Merge pull request #1967 from vkomarov-r7/feature/directory-hooksTimothy Edmund Crosley2023-01-251-2/+6
|\ \ | | | | | | Add the ability to restrict which directories isort works against
| * | Add the ability to restrict which directories isort works againstVal Komarov2022-09-061-2/+6
| |/ | | | | | | | | | | | | This is useful if certain parts of the code are `isort` compatible, while others might not be. This happened with us when resolving `merges`, which caused hooks to inadvertently sort imports of parts of the code that aren't (yet) compatible with `isort`, leading to unclean diffs/PRs.
* | Merge pull request #1948 from timgates42/bugfix_typo_determinationTimothy Edmund Crosley2023-01-231-1/+1
|\ \ | | | | | | docs: fix simple typo, detrmination -> determination
| * | docs: fix simple typo, detrmination -> determinationTim Gates2022-07-031-1/+1
| |/ | | | | | | | | | | There is a small typo in tests/unit/test_ticketed_features.py. Should read `determination` rather than `detrmination`.
* | Merge pull request #2076 from marksmayo/mainTimothy Edmund Crosley2023-01-225-4/+4
|\ \ | | | | | | updated format strings to fstrings
| * | updated format strings to fstringsMark Mayo2023-01-235-4/+4
| | |
* | | Clean upTimothy Crosley2023-01-221-1/+1
| | |
* | | Fix tmuxp testTimothy Crosley2023-01-221-1/+1
|/ /