-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add isort to CI #3721
Add isort to CI #3721
Conversation
Demo isort CI in action: https://github.com/pydata/xarray/pull/3721/checks?check_run_id=406904833 |
+0.2, and we can revert if people really complain. If there were a tool to autocorrect PRs (i.e. not just fail CI, but offer to add commits to correct the problems), that would be great |
@max-sixty I wouldn't 100% advise using such level of automation for isort. Have a look at the |
Yes; I'm particularly thinking of someone making their first contribution, maybe without all the linters and tools locally, and getting stymied by a slightly incorrect import. Ofc the tool would have to respect |
@max-sixty that's what PULL_REQUEST_TEMPLATE.md is for... |
I know, I know :) Potentially we have different priors on whether people might get stuck on all the setup. I hope there's no one, and if there is we can decide what to do! |
Just in case my previous comments were unclear, I think we should merge this! |
Thank you @crusaderky |
OK. thanks @crusaderky |
* upstream/master: Add isort to CI (pydata#3721)
* upstream/master: Python 3.8 CI (pydata#3727) PKG: Explicitly add setuptools dependency (pydata#3628) update whats-new Typo in Universal Functions section (pydata#3663) Release v0.15.0 fix setup.cfg Documentation fixes (pydata#3732) Remove extra && in PR template (pydata#3730) Remove garbage text inserted in DASK_LICENSE (pydata#3729) Avoid unsafe use of pip (pydata#3726) remove PR pre-black instructions (pydata#3707) Fix whats-new for 0.15 (pydata#3723) Add isort to CI (pydata#3721) setuptools-scm (3) (pydata#3724) Fix Sphinx links on contributing doc page (pydata#3710)
No description provided.