Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,28 @@ Changelog
NOTE: isort follows the [semver](https://semver.org/) versioning standard.
Find out more about isort's release policy [here](https://pycqa.github.io/isort/docs/major_releases/release_policy).

### 6.1.0 October 1 2025

- Add python 3.14 classifier and badge (#2409) @staticdev
- Drop use of non-standard pkg_resources API (#2405) @dvarrazzo

### 6.0.1 Febuary 26 2025

- Add OSError handling in find_imports_in_file (#2331) @kobarity

### 6.0.0 January 27 2025

- Remove support for Python 3.8 (#2327) @DanielNoord
- Python 3.13 support (#2306) @mayty
- Speed up exists_case_sensitive calls (#2264) @correctmost
- Ensure that split_on_trailing_comma works with as imports (#2340) @DanielNoord
- Black profile: enable magic comma (#2236) @MrMino
- Update line_length and single_line_exclusions in google profile (#2149) @jagapiou
- Allow --diff to be used with --jobs (#2302) @mnakama
- Fix wemake profile to have correct character limit (#2241) @sobolevn
- Fix sort_reexports code mangling (#2283) @Helveg
- Fix correct group by package tokenization (#2136) @glasnt

### 5.13.2 December 13 2023

- Apply the bracket fix from issue #471 only for use_parentheses=True (#2184) @bp72
Expand Down
10 changes: 5 additions & 5 deletions docs/contributing/1.-contributing-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ Base System Requirements:
Once you have verified that your system matches the base requirements you can start to get the project working by following these steps:

1. [Fork the project on GitHub](https://github.com/pycqa/isort/fork).
1. Clone your fork to your local file system:
2. Clone your fork to your local file system:
`git clone https://github.com/$GITHUB_ACCOUNT/isort.git`
1. `cd isort`
1. `uv sync --all-extras --frozen`
3. `cd isort`
4. `uv sync --all-extras --frozen`
* Optionally, isolate uv's installation from the rest of your system using the instructions on the uv site here: https://docs.astral.sh/uv/
1. `./scripts/test.sh` should yield Success: no issues found
1. `./scripts/clean.sh` should yield a report checking packages
5. `./scripts/test.sh` should yield Success: no issues found
6. `./scripts/clean.sh` should yield a report checking packages

**TIP**: `./scripts/done.sh` will run both clean and test in one step.

Expand Down
18 changes: 9 additions & 9 deletions docs/contributing/2.-coding-standard.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# HOPE 8 -- Style Guide for Hug Code

| | |
| ------------| ------------------------------------------- |
| HOPE: | 8 |
| Title: | Style Guide for Hug Code |
| Author(s): | Timothy Crosley <timothy.crosley@gmail.com> |
| Status: | Active |
| Type: | Process |
| Created: | 19-May-2019 |
| Updated: | 17-August-2019 |
| | |
|------------|---------------------------------------------|
| HOPE: | 8 |
| Title: | Style Guide for Hug Code |
| Author(s): | Timothy Crosley <timothy.crosley@gmail.com> |
| Status: | Active |
| Type: | Process |
| Created: | 19-May-2019 |
| Updated: | 17-August-2019 |

## Introduction

Expand Down
20 changes: 10 additions & 10 deletions docs/contributing/3.-code-of-conduct.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# HOPE 11 -- Code of Conduct

| | |
| ------------| ------------------------------------------- |
| HOPE: | 11 |
| Title: | Code of Conduct |
| Author(s): | Timothy Crosley <timothy.crosley@gmail.com> |
| Status: | Active |
| Type: | Process |
| Created: | 17-August-2019 |
| Updated: | 17-August-2019 |
| | |
|------------|---------------------------------------------|
| HOPE: | 11 |
| Title: | Code of Conduct |
| Author(s): | Timothy Crosley <timothy.crosley@gmail.com> |
| Status: | Active |
| Type: | Process |
| Created: | 17-August-2019 |
| Updated: | 17-August-2019 |

## Abstract

Expand Down Expand Up @@ -81,7 +81,7 @@ members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][https://www.contributor-covenant.org], version 1.4,
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

For answers to common questions about this code of conduct, see
Expand Down
1 change: 1 addition & 0 deletions docs/quick_start/0.-try.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Use our live isort editor to see how isort can help improve the formatting of yo
<script src="https://cdn.jsdelivr.net/pyodide/v0.15.0/full/pyodide.js" integrity="sha256-W+0Mr+EvJb1qJx9UZ9wuvd/uWrXCzeaEu6OzEEHMCik=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/ace-builds@1.4.5/src-min-noconflict/ace.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://pycqa.github.io/isort/docs/quick_start/interactive.css">
<title>Try isort</title>
</head>


Expand Down
2 changes: 1 addition & 1 deletion isort/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def sort_file(
output: Optional[TextIO] = None,
**config_kwargs: Any,
) -> bool:
"""Sorts and formats any groups of imports imports within the provided file or Path.
"""Sorts and formats any groups of imports within the provided file or Path.
Returns `True` if the file has been changed, otherwise `False`.

- **filename**: The name or Path of the file to format.
Expand Down