tools: refactor checkimports.py · nodejs/node@bf7b94f · GitHub
Skip to content

Commit bf7b94f

Browse files
VoltrexKeyvatargos
authored andcommitted
tools: refactor checkimports.py
- Use f-strings for formatting. - Use raw strings for regexes alongside f-strings. - Use a generator. - Remove unnecessary `else` clause. PR-URL: #50011 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Christian Clauss <cclauss@me.com>
1 parent e5c7dca commit bf7b94f

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

tools/checkimports.py

Lines changed: 7 additions & 9 deletions

0 commit comments

Comments
 (0)