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

Code quality: Fix unused imports and switch on related ruff check #3034

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

insspb
Copy link

@insspb insspb commented Jan 19, 2025

As any developer I am a little bit lazy from one side, and do not like pycharm warnings from another.

Looking to locust internals I discovered, that there are a lot of places where unused imports exist and related check switched off in linting. This is not good practice, as it can lead to patch problems in some projects. So this PR fixes this problem and switch on related check.

Some required unused imports are excluded with noqa mark.

@cyberw cyberw merged commit 67fa859 into locustio:master Jan 26, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants