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

[ci] [python-package] remove unused flake8 configuration #6372

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

jameslamb
Copy link
Collaborator

As of #5871, this project no longer uses the flake8 library. It uses ruff to enforce similar checks.

This PR proposes removing now-unnecessary configuration for flake8 in setup.cfg.

ruff doesn't rely on the [flake8] table there, and instead gets its configuration from pyproject.toml.

- id: ruff
args: ["--config", "python-package/pyproject.toml"]

[tool.ruff.lint]

@jameslamb jameslamb merged commit 6265c98 into master Mar 18, 2024
40 of 42 checks passed
@jameslamb jameslamb deleted the ci/flake8-config branch March 18, 2024 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants