Skip to content

ci: Introduce isort#495

Merged
achimnol merged 5 commits intomainfrom
ci/introduce-isort
Jun 27, 2022
Merged

ci: Introduce isort#495
achimnol merged 5 commits intomainfrom
ci/introduce-isort

Conversation

@achimnol
Copy link
Member

@achimnol achimnol commented Jun 27, 2022

As the number of code contributors grows, let's introduce automated import sorting.

After merging this PR, please merge the main branch to your PR branches.
There will be conflicts and resolve them by git checkout --ours . to ignore conflicts and preserve the PR's changes.
After merge, just run ./pants fmt :: to auto-fix all your PR's local changes that are not conformant to the isort's policy.

Resolved #482.

@achimnol achimnol added this to the 22.03 milestone Jun 27, 2022
@achimnol achimnol added the area:infrastructure Infrastructure-related issues label Jun 27, 2022
@achimnol achimnol self-assigned this Jun 27, 2022
@achimnol achimnol merged commit 39c292e into main Jun 27, 2022
@achimnol achimnol deleted the ci/introduce-isort branch June 27, 2022 04:26
achimnol added a commit that referenced this pull request Jun 27, 2022
* setup: Add isort configuration
* setup: Update isort configs
* docs: Add guide for running auto formatters
* style: Apply isort to all source and test files

Backported-From: main (22.06)
Backported-To: 22.03
@Yaminyam Yaminyam added the size:XL 500~ LoC label Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:infrastructure Infrastructure-related issues size:XL 500~ LoC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introduce isort as our formatter and linter

2 participants