Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump isort, enable Cython package resorting #419

Merged
merged 8 commits into from
Jul 6, 2021

Conversation

charlesbluca
Copy link
Member

With rapidsai/integration#286, the version of isort running on gpuCI will be bumped to 5.6.4, allowing us to enforce the sorting of packages in Cython (pyx, pxd) files. This PR intends to:

  • Enable these checks in the gpuCI style script
  • Enable Cython package resorting in the pre-commit hook
  • Resort all the Cython files in this repo so they pass the newly enabled checks

These checks are optional, meaning that even without this being merged, gpuCI should still pass on style checks even when rapidsai/integration#286 is merged.

@charlesbluca charlesbluca requested a review from a team as a code owner June 14, 2021 19:52
@github-actions github-actions bot added the gpuCI Related to Continuous Integration / Automation label Jun 14, 2021
@ajschmidt8 ajschmidt8 added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jun 21, 2021
@charlesbluca charlesbluca requested a review from a team as a code owner June 21, 2021 18:41
@github-actions github-actions bot added the Python Related to Python code label Jun 21, 2021
@charlesbluca
Copy link
Member Author

charlesbluca commented Jun 21, 2021

Looks like the style failures here are in Black - this might be because pre-commit is using stable while gpuCI is using 19.10.

@charlesbluca
Copy link
Member Author

rerun tests

1 similar comment
@charlesbluca
Copy link
Member Author

rerun tests

Copy link
Member

@ajschmidt8 ajschmidt8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving ops-codeowner file changes

@ajschmidt8
Copy link
Member

@gpucibot merge

@rapids-bot rapids-bot bot merged commit a470e17 into rapidsai:branch-21.08 Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gpuCI Related to Continuous Integration / Automation improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Python Related to Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants