Skip to content

fix: some Python lint issues#200

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

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

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented Jul 17, 2023

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 richardlau July 17, 2023 15:52
@cclauss cclauss merged commit d2dfe4e into nodejs:main Jul 17, 2023
@cclauss cclauss deleted the fix-Python-lint-issues branch July 17, 2023 18:12
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