tools: refactor checkimports.py#50011
Conversation
|
@nodejs/python need one more approval to land. |
|
I am not a fan of the shebang change. We should join the broad effort to encourage users to use https://docs.python.org/3/library/venv.html to avoid creating dependency conflicts across projects. In a Today I did The Python core team has worked with OS vendors to lock down the system Python and encourage the use of |
69ae4d6 to
c5319ce
Compare
|
@cclauss PTAL. |
- Use f-strings for formatting. - Use raw strings for regexes alongside f-strings. - Use a generator. - Remove unnecessary `else` clause.
c5319ce to
a036e93
Compare
|
@cclauss will need a re-approval to land. |
See
|
That's intentional, refer to the second point in the collaborator guide's landing pull requests section. |
|
Landed in 31bde06 |
- Use f-strings for formatting. - Use raw strings for regexes alongside f-strings. - Use a generator. - Remove unnecessary `else` clause. PR-URL: nodejs#50011 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Christian Clauss <cclauss@me.com>
- 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>
- Use f-strings for formatting. - Use raw strings for regexes alongside f-strings. - Use a generator. - Remove unnecessary `else` clause. PR-URL: nodejs#50011 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Christian Clauss <cclauss@me.com>
- 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>
elseclause.