-
Notifications
You must be signed in to change notification settings - Fork 754
Integrate docs/bin/*.py files into the nox config
#529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
oraNod
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks perfect! Thanks @gotmax23
|
I force pushed to split up the commits. |
|
@nitzmahone and @mattclay Hey! Could one of you please take a look as this modifies |
|
doh. I may have sent review requests a little prematurely given this is in draft state. |
Nah, it should be ready for review :). |
|
I'm not sure there's anything for me to review. The majority (all?) of the changes in |
The changes to those files are mostly reformatting and adding type annotations for mypy. I also removed python2-isms ( |
This adds a clone-core session to the noxfile that can be run with `nox -e clone-core`. The session is added to the default sessions in `nox.options.sessions` so executing `nox` automatically clones core and runs all of the lint sessions.
This enforce the Python linters in the noxfile on the Python files in docs/bin.
I ran the formatters and then fixed some line length and typing errors manually.
|
I force pushed to fix a typo in a commit message. Other than that, I think this is good to merge. |
This comment was marked as resolved.
This comment was marked as resolved.
Backport to stable-2.16: 💚 backport PR created✅ Backport PR branch: Backported as #561 🤖 @patchback |
This PR adds a clone-core nox session and applies the Python linters to the files in `docs/bin`. (cherry picked from commit 881b326)
This PR adds a clone-core nox session and applies the Python linters to the files in `docs/bin`.
This PR adds a clone-core nox session and applies the Python linters to the files in `docs/bin`. (cherry picked from commit 881b326)
|
Manual stable-2.15 backport: #562 |
@mattclay I wanted to make sure either yourself or @nitzmahone was aware of the changes as it touched code you've added. Just hoping to avoid future surprises really. Thanks for taking a look. |
|
Thanks for adding this @gotmax23 |
This PR adds a clone-core nox session and applies the Python linters to the files in `docs/bin`. (cherry picked from commit 881b326)
This PR adds a clone-core nox session and applies the Python linters to the files in `docs/bin`. (cherry picked from commit 881b326) Co-authored-by: Maxwell G <maxwell@gtmx.me>
This PR adds a clone-core nox session and applies the Python linters to the files in
docs/bin.