Skip to content
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

DOC: fix typos #18980

Merged
merged 5 commits into from Nov 22, 2020
Merged

DOC: fix typos #18980

merged 5 commits into from Nov 22, 2020

Conversation

@luzpaz
Copy link
Contributor

@luzpaz luzpaz commented Nov 19, 2020

Found using codespell v2.0.dev

codespell -q 3 -S ./extern,./doc/users/credits.rst,./doc/api/prev_api_changes,./doc/users/prev_whats_new -L afe,ans,axises,ba,coo,flate,fo,hist,inout,ment,nd,offsetp,oly,ot,te,thisy,vas,whis,wit
Copy link
Contributor

@dopplershift dopplershift left a comment

Thanks for the contribution!

@dopplershift dopplershift added this to the v3.4.0 milestone Nov 19, 2020
@jklymak
Copy link
Contributor

@jklymak jklymak commented Nov 19, 2020

We periodically get PRs like this, which is great, but they are disruptive in that they hit a bunch of files trivially. Have we given any thought to just running codespell as part of CI, just like we run flake8?

@@ -1,6 +1,6 @@
"""
======================
Demo Curvelinear Grid2
Demo Curvilinear Grid2
Copy link
Member

@QuLogic QuLogic Nov 19, 2020

This one is on purpose; see the filename and classes used. Maybe it should be CurveLinear in the title instead, though?

@@ -121,7 +121,7 @@
:align: center
:scale: 50
Demo Curvelinear Grid
Demo Curvilinear Grid
Copy link
Member

@QuLogic QuLogic Nov 19, 2020

Ditto

@@ -566,7 +566,7 @@ def inv_tr(x, y):
:align: center
:scale: 50
Demo Curvelinear Grid
Demo Curvilinear Grid
Copy link
Member

@QuLogic QuLogic Nov 19, 2020

Ditto.

@QuLogic
Copy link
Member

@QuLogic QuLogic commented Nov 19, 2020

The trouble with running it in CI is that there are a lot of false positives; I'm sure @luzpaz had to spend a while cherry picking the bits that are actually errors.

Possibly we could use reviewdog to limit the results to the diff, if codespell doesn't have a way to do that.

@luzpaz
Copy link
Contributor Author

@luzpaz luzpaz commented Nov 20, 2020

The trouble with running it in CI is that there are a lot of false positives; I'm sure @luzpaz had to spend a while cherry picking the bits that are actually errors.
Possibly we could use reviewdog to limit the results to the diff, if codespell doesn't have a way to do that.

Indeed. But each time I added them to to the -L flag list. Codespell can be run specifically on the diff. I've seen it but not remembering exactly now.

Copy link
Member

@tacaswell tacaswell left a comment

I agree with @QuLogic 's comment about CureveLinear vs Curvilinear. For better or worse the class name is CurveLinear and we should match that in the text.

Anyone can clear this review.

examples/axisartist/demo_curvelinear_grid2.py Outdated Show resolved Hide resolved
tutorials/toolkits/axisartist.py Outdated Show resolved Hide resolved
tutorials/toolkits/axisartist.py Outdated Show resolved Hide resolved
@luzpaz
Copy link
Contributor Author

@luzpaz luzpaz commented Nov 21, 2020

Added requested, thanks @tacaswell.
+ rebased

luzpaz and others added 5 commits Nov 22, 2020
Found using `codespell v2.0.dev`  
```
codespell -q 3 -S ./extern,./doc/users/credits.rst,./doc/api/prev_api_changes,./doc/users/prev_whats_new -L afe,ans,axises,ba,coo,flate,fo,hist,inout,ment,nd,offsetp,oly,ot,te,thisy,vas,whis,wit
```
Co-authored-by: Thomas A Caswell <tcaswell@gmail.com>
Co-authored-by: Thomas A Caswell <tcaswell@gmail.com>
Co-authored-by: Thomas A Caswell <tcaswell@gmail.com>
@jklymak jklymak dismissed tacaswell’s stale review Nov 22, 2020

Done by author

@jklymak jklymak requested a review from tacaswell Nov 22, 2020
@timhoffm timhoffm merged commit fed55c6 into matplotlib:master Nov 22, 2020
21 checks passed
@timhoffm
Copy link
Member

@timhoffm timhoffm commented Nov 22, 2020

Thanks @luzpaz!

@luzpaz luzpaz deleted the typos branch Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

6 participants