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

this change setup linter rule for unused variables, fixing the issue … #4289

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

felipesqf
Copy link

@felipesqf felipesqf commented Oct 11, 2024

#4280

What I did

Fix #4280

How I did it

Added flake8 F401 option to the setup.py file

How to verify it

Commit message

Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)

Description for the changelog

Cute Animal Picture

screenshot1

# Add linter configuration for flake8
options={
"flake8": {
"select": "F401",
Copy link
Member

Choose a reason for hiding this comment

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

i think we rather want this in setup.cfg

but also, i think F401 was already enabled, so i'm confused why it didn't catch the dead variable in question.

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.

setup linter rule for unused variables
2 participants