Skip to content

Commit ef5cdee

Browse files
committed
Update timothycrosley references to pycqa
1 parent 8e0ee98 commit ef5cdee

21 files changed

+105
-104
lines changed

.cruft.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
"cookiecutter": {
66
"full_name": "Timothy Crosley",
77
"email": "[email protected]",
8-
"github_username": "timothycrosley",
8+
"github_username": "pycqa",
99
"project_name": "isort",
1010
"description": "A Python utility / library to sort Python imports.",
1111
"version": "4.3.21",
1212
"_template": "https://github.com/timothycrosley/cookiecutter-python/"
1313
}
1414
},
1515
"directory": ""
16-
}
16+
}

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
repos:
2-
- repo: https://github.com/timothycrosley/isort
2+
- repo: https://github.com/pycqa/isort
33
rev: 5.3.0
44
hooks:
55
- id: isort

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Internal Development:
134134
- Added warning for deprecated CLI flags and linked to upgrade guide.
135135

136136
### 5.0.3 - July 4, 2020
137-
- Fixed setup.py command incorrectly passing check=True as a configuration parameter (see: https://github.com/timothycrosley/isort/issues/1258)
137+
- Fixed setup.py command incorrectly passing check=True as a configuration parameter (see: https://github.com/pycqa/isort/issues/1258)
138138
- Fixed missing patch version
139139
- Fixed issue #1253: Atomic fails when passed in not readable output stream
140140

@@ -177,7 +177,7 @@ Internal:
177177

178178
- profile support for common project types (black, django, google, etc)
179179

180-
- Much much more. There is some difficulty in fully capturing the extent of changes in this release - just because of how all encompassing the release is. See: [Github Issues](https://github.com/timothycrosley/isort/issues?q=is%3Aissue+is%3Aclosed) for more.
180+
- Much much more. There is some difficulty in fully capturing the extent of changes in this release - just because of how all encompassing the release is. See: [Github Issues](https://github.com/pycqa/isort/issues?q=is%3Aissue+is%3Aclosed) for more.
181181

182182
### 4.3.21 - June 25, 2019 - hot fix release
183183
- Fixed issue #957 - Long aliases and use_parentheses generates invalid syntax

README.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
[![isort - isort your imports, so you don't have to.](https://raw.githubusercontent.com/timothycrosley/isort/develop/art/logo_large.png)](https://timothycrosley.github.io/isort/)
1+
[![isort - isort your imports, so you don't have to.](https://raw.githubusercontent.com/pycqa/isort/develop/art/logo_large.png)](https://pycqa.github.io/isort/)
22

33
------------------------------------------------------------------------
44

55
[![PyPI version](https://badge.fury.io/py/isort.svg)](https://badge.fury.io/py/isort)
6-
[![Test Status](https://github.com/timothycrosley/isort/workflows/Test/badge.svg?branch=develop)](https://github.com/timothycrosley/isort/actions?query=workflow%3ATest)
7-
[![Lint Status](https://github.com/timothycrosley/isort/workflows/Lint/badge.svg?branch=develop)](https://github.com/timothycrosley/isort/actions?query=workflow%3ALint)
8-
[![Code coverage Status](https://codecov.io/gh/timothycrosley/isort/branch/develop/graph/badge.svg)](https://codecov.io/gh/timothycrosley/isort)
6+
[![Test Status](https://github.com/pycqa/isort/workflows/Test/badge.svg?branch=develop)](https://github.com/pycqa/isort/actions?query=workflow%3ATest)
7+
[![Lint Status](https://github.com/pycqa/isort/workflows/Lint/badge.svg?branch=develop)](https://github.com/pycqa/isort/actions?query=workflow%3ALint)
8+
[![Code coverage Status](https://codecov.io/gh/pycqa/isort/branch/develop/graph/badge.svg)](https://codecov.io/gh/pycqa/isort)
99
[![Maintainability](https://api.codeclimate.com/v1/badges/060372d3e77573072609/maintainability)](https://codeclimate.com/github/timothycrosley/isort/maintainability)
1010
[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://pypi.org/project/isort/)
11-
[![Join the chat at https://gitter.im/timothycrosley/isort](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/timothycrosley/isort?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
11+
[![Join the chat at https://gitter.im/pycqa/isort](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/pycqa/isort?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
1212
[![Downloads](https://pepy.tech/badge/isort)](https://pepy.tech/project/isort)
1313
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
14-
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://timothycrosley.github.io/isort/)
15-
[![DeepSource](https://static.deepsource.io/deepsource-badge-light-mini.svg)](https://deepsource.io/gh/timothycrosley/isort/?ref=repository-badge)
14+
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)
15+
[![DeepSource](https://static.deepsource.io/deepsource-badge-light-mini.svg)](https://deepsource.io/gh/pycqa/isort/?ref=repository-badge)
1616
_________________
1717

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/)
1919
_________________
2020

2121
isort your imports, so you don't have to.
2222

2323
isort is a Python utility / library to sort imports alphabetically, and
2424
automatically separated into sections and by type. It provides a command line
2525
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
2727
quickly sort all your imports. It requires Python 3.6+ to run but
2828
supports formatting Python 2 code too.
2929

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/)
3131

32-
![Example Usage](https://raw.github.com/timothycrosley/isort/develop/example.gif)
32+
![Example Usage](https://raw.github.com/pycqa/isort/develop/example.gif)
3333

3434
Before isort:
3535

@@ -155,7 +155,7 @@ sorted_code = isort.code("import b\nimport a\n")
155155

156156
Several plugins have been written that enable to use isort from within a
157157
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).
159159
Additionally, I will enthusiastically accept pull requests that include
160160
plugins for other text editors and add documentation for them as I am
161161
notified.
@@ -443,15 +443,15 @@ import b
443443
from a import a # This will always appear below because it is a from import.
444444
```
445445

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:
447447

448448

449449
```python
450450
from a import a # This will now appear at top because a appears in the alphabet before b
451451
import b
452452
```
453453

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).
455455

456456
```python
457457
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(
608608

609609
## Spread the word
610610

611-
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://timothycrosley.github.io/isort/)
611+
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)
612612

613613
Place this badge at the top of your repository to let others know your project uses isort.
614614

615615
For README.md:
616616

617617
```markdown
618-
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://timothycrosley.github.io/isort/)
618+
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)
619619
```
620620

621621
Or README.rst:
622622

623623
```rst
624624
.. 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/
626626
```
627627

628628
## Security contact information

docs/configuration/options.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ As a code formatter isort has opinions. However, it also allows you to have your
44
isort will disagree but commit to your way of formatting. To enable this, isort exposes a plethora of options to specify
55
how you want your imports sorted, organized, and formatted.
66

7-
Too busy to build your perfect isort configuration? For curated common configurations, see isort's [built-in profiles](https://timothycrosley.github.io/isort/docs/configuration/profiles/).
7+
Too busy to build your perfect isort configuration? For curated common configurations, see isort's [built-in profiles](https://pycqa.github.io/isort/docs/configuration/profiles/).
88

99
## Python Version
1010

docs/contributing/1.-contributing-guide.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Base System Requirements:
2121

2222
Once you have verified that your system matches the base requirements you can start to get the project working by following these steps:
2323

24-
1. [Fork the project on GitHub](https://github.com/timothycrosley/isort/fork).
24+
1. [Fork the project on GitHub](https://github.com/pycqa/isort/fork).
2525
2. Clone your fork to your local file system:
2626
`git clone https://github.com/$GITHUB_ACCOUNT/isort.git`
2727
3. `cd isort`
@@ -57,10 +57,10 @@ A local test cycle might look like the following:
5757
## Making a contribution
5858
Congrats! You're now ready to make a contribution! Use the following as a guide to help you reach a successful pull-request:
5959

60-
1. Check the [issues page](https://github.com/timothycrosley/isort/issues) on GitHub to see if the task you want to complete is listed there.
60+
1. Check the [issues page](https://github.com/pycqa/isort/issues) on GitHub to see if the task you want to complete is listed there.
6161
- If it's listed there, write a comment letting others know you are working on it.
6262
- If it's not listed in GitHub issues, go ahead and log a new issue. Then add a comment letting everyone know you have it under control.
63-
- If you're not sure if it's something that is good for the main isort project and want immediate feedback, you can discuss it [here](https://gitter.im/timothycrosley/isort).
63+
- If you're not sure if it's something that is good for the main isort project and want immediate feedback, you can discuss it [here](https://gitter.im/pycqa/isort).
6464
2. Create an issue branch for your local work `git checkout -b issue/$ISSUE-NUMBER`.
6565
3. Do your magic here.
6666
4. Ensure your code matches the [HOPE-8 Coding Standard](https://github.com/hugapi/HOPE/blob/master/all/HOPE-8--Style-Guide-for-Hug-Code.md#hope-8----style-guide-for-hug-code) used by the project.

docs/major_releases/introducing_isort_5.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Introducing isort 5
22

3-
[![isort 5 - the best version of isort yet](https://raw.githubusercontent.com/timothycrosley/isort/develop/art/logo_5.png)](https://timothycrosley.github.io/isort/)
3+
[![isort 5 - the best version of isort yet](https://raw.githubusercontent.com/pycqa/isort/develop/art/logo_5.png)](https://pycqa.github.io/isort/)
44

55
isort 5.0.0 is the first major release of isort in over five years and the first significant refactoring of isort since it was conceived more than ten years ago.
66
It's also the first version to require Python 3 (Python 3.6+ at that!) to run - though it can still be run on source files from any version of Python.
77
This does mean that there may be some pain with the upgrade process, but we believe the improvements will be well worth it.
88

9-
[Click here for an attempt at full changelog with a list of breaking changes.](https://timothycrosley.github.io/isort/CHANGELOG/)
9+
[Click here for an attempt at full changelog with a list of breaking changes.](https://pycqa.github.io/isort/CHANGELOG/)
1010

11-
[Using isort 4.x.x? Click here for the isort 5.0.0 upgrade guide.](https://timothycrosley.github.io/isort/docs/upgrade_guides/5.0.0/)
11+
[Using isort 4.x.x? Click here for the isort 5.0.0 upgrade guide.](https://pycqa.github.io/isort/docs/upgrade_guides/5.0.0/)
1212

13-
[Try isort 5 right now from your browser!](https://timothycrosley.github.io/isort/docs/quick_start/0.-try/)
13+
[Try isort 5 right now from your browser!](https://pycqa.github.io/isort/docs/quick_start/0.-try/)
1414

1515
So why the massive change?
1616

@@ -105,7 +105,7 @@ import c
105105
import d
106106
```
107107

108-
isort 5 adds support for [Action Comments](https://timothycrosley.github.io/isort/docs/configuration/action_comments/) which provide a quick and convient way to control the flow of parsing within single source files.
108+
isort 5 adds support for [Action Comments](https://pycqa.github.io/isort/docs/configuration/action_comments/) which provide a quick and convient way to control the flow of parsing within single source files.
109109

110110

111111
# First class Python API
@@ -122,21 +122,21 @@ import b
122122
"""
123123
```
124124

125-
isort now exposes its programmatic API as a first-class citizen. This API makes it easy to extend or use isort in your own Python project. You can see the full documentation for this new API [here](https://timothycrosley.github.io/isort/reference/isort/api/).
125+
isort now exposes its programmatic API as a first-class citizen. This API makes it easy to extend or use isort in your own Python project. You can see the full documentation for this new API [here](https://pycqa.github.io/isort/reference/isort/api/).
126126

127127
# Solid base for the future
128128

129129
A major focus for the release was to give isort a solid foundation for the next 5-10 years of the project's life.
130130
isort has been refactored into functional components that are easily testable. The project now has 100% code coverage.
131131
It utilizes tools like [Hypothesis](https://hypothesis.readthedocs.io/en/latest/) to reduce the number of unexpected errors.
132-
It went from fully dynamic to fully static typing using mypy. Finally, it utilizes the latest linters both on (like [DeepSource](https://deepsource.io/gh/timothycrosley/isort/)) and offline (like [Flake8](https://flake8.pycqa.org/en/latest/)) to help ensure a higher bar for all code contributions into the future.
132+
It went from fully dynamic to fully static typing using mypy. Finally, it utilizes the latest linters both on (like [DeepSource](https://deepsource.io/gh/pycqa/isort/)) and offline (like [Flake8](https://flake8.pycqa.org/en/latest/)) to help ensure a higher bar for all code contributions into the future.
133133

134134
# Give 5.0.0 a try!
135135

136-
[Try isort 5 right now from your browser!](https://timothycrosley.github.io/isort/docs/quick_start/0.-try/)
136+
[Try isort 5 right now from your browser!](https://pycqa.github.io/isort/docs/quick_start/0.-try/)
137137

138138
OR
139139

140140
Install isort locally using `pip3 install isort`.
141141

142-
[Click here for full installation instructions.](https://timothycrosley.github.io/isort/docs/quick_start/1.-install/)
142+
[Click here for full installation instructions.](https://pycqa.github.io/isort/docs/quick_start/1.-install/)

docs/quick_start/0.-try.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Use our live isort editor to see how isort can help improve the formatting of yo
1313
</script>
1414
<script src="https://pyodide-cdn2.iodide.io/v0.15.0/full/pyodide.js"></script>
1515
<script src="https://pagecdn.io/lib/ace/1.4.5/ace.js" integrity="sha256-5Xkhn3k/1rbXB+Q/DX/2RuAtaB4dRRyQvMs83prFjpM=" crossorigin="anonymous"></script>
16-
<link rel="stylesheet" type="text/css" href="https://timothycrosley.github.io/isort/docs/quick_start/interactive.css">
16+
<link rel="stylesheet" type="text/css" href="https://pycqa.github.io/isort/docs/quick_start/interactive.css">
1717
</head>
1818

1919

@@ -32,7 +32,7 @@ import b, a
3232
<div id="outputEditor" class="editor">Loading...</div>
3333
<div>
3434

35-
&nbsp;Configuration (Note: the below must follow JSON format). Full configuration guide is <a href="https://timothycrosley.github.io/isort/docs/configuration/options/">here</a>:
35+
&nbsp;Configuration (Note: the below must follow JSON format). Full configuration guide is <a href="https://pycqa.github.io/isort/docs/configuration/options/">here</a>:
3636

3737
<div id="configEditor" class="configurator">{"line_length": 80,
3838
"profile": "black",
@@ -43,8 +43,8 @@ import b, a
4343
</div>
4444
</div>
4545

46-
<script src="https://timothycrosley.github.io/isort/docs/quick_start/interactive.js"></script>
46+
<script src="https://pycqa.github.io/isort/docs/quick_start/interactive.js"></script>
4747
<div style="clear:both;"></div>
4848
Like what you saw? Installing isort to use locally is as simple as `pip3 install isort`.
4949

50-
[Click here for full installation instructions.](https://timothycrosley.github.io/isort/docs/quick_start/1.-install/)
50+
[Click here for full installation instructions.](https://pycqa.github.io/isort/docs/quick_start/1.-install/)

docs/quick_start/2.-cli.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Once installed, `isort` exposes a command line utility for sorting, organizing, and formatting imports within Python and Cython source files.
44

55
To verify the tool is installed correctly, run `isort` from the command line and you should be given the available commands and the version of isort installed.
6-
For a list of all CLI options type `isort --help` or view [the online configuration reference](https://timothycrosley.github.io/isort/docs/configuration/options/):
6+
For a list of all CLI options type `isort --help` or view [the online configuration reference](https://pycqa.github.io/isort/docs/configuration/options/):
77

88
<script id="asciicast-346599" src="https://asciinema.org/a/346599.js" async></script>
99

docs/quick_start/3.-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ Highlights include:
1919
- `isort.place_module` - Takes the name of a module as a string and returns the categorization determined for it.
2020
- `isort.place_module_with_reason` - Takes the name of a module as a string and returns the categorization determined for it and why that categorization was given.
2121

22-
For a full definition of the API see the [API reference documentation](https://timothycrosley.github.io/isort/reference/isort/api/) or try `help(isort)` from an interactive interpreter.
22+
For a full definition of the API see the [API reference documentation](https://pycqa.github.io/isort/reference/isort/api/) or try `help(isort)` from an interactive interpreter.

0 commit comments

Comments
 (0)