Skip to content

fix: some Python lint issues - #200

Merged
cclauss merged 2 commits into
nodejs:mainfrom
cclauss:fix-Python-lint-issues
Jul 17, 2023
Merged

fix: some Python lint issues#200
cclauss merged 2 commits into
nodejs:mainfrom
cclauss:fix-Python-lint-issues

Conversation

@cclauss

Copy link
Copy Markdown
Contributor

Related to nodejs/node-gyp#2886

% ruff .

pylib/gyp/generator/make.py:1992:53: UP032 [*] Use f-string instead of `format` call
pylib/gyp/generator/msvs.py:687:34: RUF015 [*] Prefer `next(iter(outputs))` over `list(outputs)[0]`

% ruff --fix .

Found 2 errors (2 fixed, 0 remaining).

@cclauss
cclauss requested a review from richardlauJuly 17, 2023 15:52
@cclauss
cclauss merged commit d2dfe4e into nodejs:mainJul 17, 2023
@cclauss
cclauss deleted the fix-Python-lint-issues branch July 17, 2023 18:12
@github-actionsgithub-actionsBot mentioned this pull request Jul 17, 2023
Sign up for freeto 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

@cclauss@richardlau