Skip to content

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

Merged
jameslamb merged 2 commits intomasterfrom
ci/flake8-config
Mar 18, 2024
Merged

[ci] [python-package] remove unused flake8 configuration#6372
jameslamb merged 2 commits intomasterfrom
ci/flake8-config

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
@jameslamb jameslamb deleted the ci/flake8-config branch March 18, 2024 18:24
@github-actions
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity since it was closed.
To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants