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

Consolidate linter configuration into pyproject.toml #1317

Merged

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Mar 7, 2023

raft currently stores config information for linters across many different pyproject.toml and setup.cfg files. This PR moves all linter configuration out of setup.cfg files into pyproject.toml where possible. flake8 does not support pyproject.toml, so that data is placed in the flake8-specific .flake8 file. Old and unused .flake8 files have been removed. These changes are a precursor to build system migrations that should allow further consolidation of the data in these files.

@vyasr vyasr added 3 - Ready for Review improvement Improvement / enhancement to an existing function non-breaking Non-breaking change python labels Mar 7, 2023
@vyasr vyasr self-assigned this Mar 7, 2023
@vyasr vyasr requested a review from a team as a code owner March 7, 2023 17:55
@vyasr vyasr requested a review from a team as a code owner March 7, 2023 19:33
@github-actions github-actions bot added the cpp label Mar 7, 2023
Copy link
Member

@benfred benfred left a comment

Choose a reason for hiding this comment

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

this looks good to me - thanks for making these changes!

@vyasr
Copy link
Contributor Author

vyasr commented Mar 9, 2023

/merge

@rapids-bot rapids-bot bot merged commit 362dc93 into rapidsai:branch-23.04 Mar 9, 2023
@vyasr vyasr deleted the feat/consolidate_linter_configs branch March 9, 2023 15:34
lowener pushed a commit to lowener/raft that referenced this pull request Mar 15, 2023
raft currently stores config information for linters across many different pyproject.toml and setup.cfg files. This PR moves all linter configuration out of setup.cfg files into pyproject.toml where possible. flake8 does not support pyproject.toml, so that data is placed in the flake8-specific .flake8 file. Old and unused .flake8 files have been removed. These changes are a precursor to build system migrations that should allow further consolidation of the data in these files.

Authors:
  - Vyas Ramasubramani (https://github.com/vyasr)

Approvers:
  - Ben Frederickson (https://github.com/benfred)

URL: rapidsai#1317
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review cpp improvement Improvement / enhancement to an existing function non-breaking Non-breaking change python
Projects
Development

Successfully merging this pull request may close these issues.

2 participants