|
1 |
| -[](https://timothycrosley.github.io/isort/) |
| 1 | +[](https://pycqa.github.io/isort/) |
2 | 2 |
|
3 | 3 | ------------------------------------------------------------------------
|
4 | 4 |
|
5 | 5 | [](https://badge.fury.io/py/isort)
|
6 |
| -[](https://github.com/timothycrosley/isort/actions?query=workflow%3ATest) |
7 |
| -[](https://github.com/timothycrosley/isort/actions?query=workflow%3ALint) |
8 |
| -[](https://codecov.io/gh/timothycrosley/isort) |
| 6 | +[](https://github.com/pycqa/isort/actions?query=workflow%3ATest) |
| 7 | +[](https://github.com/pycqa/isort/actions?query=workflow%3ALint) |
| 8 | +[](https://codecov.io/gh/pycqa/isort) |
9 | 9 | [](https://codeclimate.com/github/timothycrosley/isort/maintainability)
|
10 | 10 | [](https://pypi.org/project/isort/)
|
11 |
| -[](https://gitter.im/timothycrosley/isort?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) |
| 11 | +[](https://gitter.im/pycqa/isort?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) |
12 | 12 | [](https://pepy.tech/project/isort)
|
13 | 13 | [](https://github.com/psf/black)
|
14 |
| -[](https://timothycrosley.github.io/isort/) |
15 |
| -[](https://deepsource.io/gh/timothycrosley/isort/?ref=repository-badge) |
| 14 | +[](https://pycqa.github.io/isort/) |
| 15 | +[](https://deepsource.io/gh/pycqa/isort/?ref=repository-badge) |
16 | 16 | _________________
|
17 | 17 |
|
18 |
| -[Read Latest Documentation](https://timothycrosley.github.io/isort/) - [Browse GitHub Code Repository](https://github.com/timothycrosley/isort/) |
| 18 | +[Read Latest Documentation](https://pycqa.github.io/isort/) - [Browse GitHub Code Repository](https://github.com/pycqa/isort/) |
19 | 19 | _________________
|
20 | 20 |
|
21 | 21 | isort your imports, so you don't have to.
|
22 | 22 |
|
23 | 23 | isort is a Python utility / library to sort imports alphabetically, and
|
24 | 24 | automatically separated into sections and by type. It provides a command line
|
25 | 25 | utility, Python library and [plugins for various
|
26 |
| -editors](https://github.com/timothycrosley/isort/wiki/isort-Plugins) to |
| 26 | +editors](https://github.com/pycqa/isort/wiki/isort-Plugins) to |
27 | 27 | quickly sort all your imports. It requires Python 3.6+ to run but
|
28 | 28 | supports formatting Python 2 code too.
|
29 | 29 |
|
30 |
| -[Try isort now from your browser!](https://timothycrosley.github.io/isort/docs/quick_start/0.-try/) |
| 30 | +[Try isort now from your browser!](https://pycqa.github.io/isort/docs/quick_start/0.-try/) |
31 | 31 |
|
32 |
| - |
| 32 | + |
33 | 33 |
|
34 | 34 | Before isort:
|
35 | 35 |
|
@@ -155,7 +155,7 @@ sorted_code = isort.code("import b\nimport a\n")
|
155 | 155 |
|
156 | 156 | Several plugins have been written that enable to use isort from within a
|
157 | 157 | variety of text-editors. You can find a full list of them [on the isort
|
158 |
| -wiki](https://github.com/timothycrosley/isort/wiki/isort-Plugins). |
| 158 | +wiki](https://github.com/pycqa/isort/wiki/isort-Plugins). |
159 | 159 | Additionally, I will enthusiastically accept pull requests that include
|
160 | 160 | plugins for other text editors and add documentation for them as I am
|
161 | 161 | notified.
|
@@ -443,15 +443,15 @@ import b
|
443 | 443 | from a import a # This will always appear below because it is a from import.
|
444 | 444 | ```
|
445 | 445 |
|
446 |
| -However, if you prefer to keep strict alphabetical sorting you can set [force sort within sections](https://timothycrosley.github.io/isort/docs/configuration/options/#force-sort-within-sections) to true. Resulting in: |
| 446 | +However, if you prefer to keep strict alphabetical sorting you can set [force sort within sections](https://pycqa.github.io/isort/docs/configuration/options/#force-sort-within-sections) to true. Resulting in: |
447 | 447 |
|
448 | 448 |
|
449 | 449 | ```python
|
450 | 450 | from a import a # This will now appear at top because a appears in the alphabet before b
|
451 | 451 | import b
|
452 | 452 | ```
|
453 | 453 |
|
454 |
| -You can even tell isort to always place from imports on top, instead of the default of placing them on bottom, using [from first](https://timothycrosley.github.io/isort/docs/configuration/options/#from-first). |
| 454 | +You can even tell isort to always place from imports on top, instead of the default of placing them on bottom, using [from first](https://pycqa.github.io/isort/docs/configuration/options/#from-first). |
455 | 455 |
|
456 | 456 | ```python
|
457 | 457 | from b import b # If from first is set to True, all from imports will be placed before non-from imports.
|
@@ -608,21 +608,21 @@ setup(
|
608 | 608 |
|
609 | 609 | ## Spread the word
|
610 | 610 |
|
611 |
| -[](https://timothycrosley.github.io/isort/) |
| 611 | +[](https://pycqa.github.io/isort/) |
612 | 612 |
|
613 | 613 | Place this badge at the top of your repository to let others know your project uses isort.
|
614 | 614 |
|
615 | 615 | For README.md:
|
616 | 616 |
|
617 | 617 | ```markdown
|
618 |
| -[](https://timothycrosley.github.io/isort/) |
| 618 | +[](https://pycqa.github.io/isort/) |
619 | 619 | ```
|
620 | 620 |
|
621 | 621 | Or README.rst:
|
622 | 622 |
|
623 | 623 | ```rst
|
624 | 624 | .. image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
|
625 |
| - :target: https://timothycrosley.github.io/isort/ |
| 625 | + :target: https://pycqa.github.io/isort/ |
626 | 626 | ```
|
627 | 627 |
|
628 | 628 | ## Security contact information
|
|
0 commit comments