Skip to content

Fix PYL-W0621 in setup.py #49

@reactive-firewall

Description

@reactive-firewall

The variable f could overshadow the global var of the same name.

Issue here:

python-repo/setup.py

Lines 33 to 34 in c2194fe

with open(str("""./{}""").format(str(filename))) as f:
theResult = f.read()

Global defined here:

python-repo/setup.py

Lines 43 to 44 in c2194fe

with open("""./requirements.txt""") as f:
requirements = f.read().splitlines()

Metadata

Metadata

Labels

BugSomething isn't workingLinterAny linter tool or setting file enhancementsPython LangChanges to Python source codePython RepoAnything Project Related

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions