Skip to content

DOC: fix typos #18980

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

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

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

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?

Copy link
Member

@QuLogic QuLogic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto

@@ -566,7 +566,7 @@ def inv_tr(x, y):
:align: center
:scale: 50

Demo Curvelinear Grid
Demo Curvilinear Grid
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto.

@QuLogic
Copy link
Member

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 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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@luzpaz
Copy link
Contributor Author

luzpaz commented Nov 21, 2020

Added requested, thanks @tacaswell.
+ rebased

luzpaz and others added 5 commits November 22, 2020 11:36
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 November 22, 2020 16:51

Done by author

@jklymak jklymak requested a review from tacaswell November 22, 2020 16:51
@timhoffm timhoffm merged commit fed55c6 into matplotlib:master Nov 22, 2020
@timhoffm
Copy link
Member

Thanks @luzpaz!

@luzpaz luzpaz deleted the typos branch November 23, 2020 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants