Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Use pre-commit to enforce Python style checks #478

Merged
merged 4 commits into from
Apr 22, 2022

Conversation

charlesbluca
Copy link
Member

This PR adds a pre-commit configuration to this repo to enforce the Python style checks - it also modifies the gpuCI style check to use pre-commit instead of just isort.

The pre-commit configuration can probably be expanded to include CUDA style enforcement with clang-format, but this seemed like a decent starting point.

@charlesbluca charlesbluca requested review from a team as code owners April 15, 2022 19:29
@awthomp awthomp added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Apr 20, 2022
@awthomp
Copy link
Member

awthomp commented Apr 20, 2022

@ajschmidt8 -- You might be best to review and merge this PR, AJ!

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

@awthomp, this PR looks good. It will still require an approval from you to satisfy the cusignal-python-codeowners review requirements before it can be merged.

@ajschmidt8
Copy link
Member

@charlesbluca, let me know if this is all set to merge. feel free to merge if you have permissions

@charlesbluca
Copy link
Member Author

@gpucibot merge

@charlesbluca
Copy link
Member Author

@ajschmidt8 yeah think you or @awthomp will need to merge this one in

@charlesbluca
Copy link
Member Author

charlesbluca commented Apr 21, 2022

Actually, totally forgot that I should merge in the latest changes - I will do that first and then this should be good

@ajschmidt8
Copy link
Member

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 600eb63 into rapidsai:branch-22.06 Apr 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants