Skip to content

Commit f548a94

Browse files
Add codespell pre-commit and fix typos (#451)
1 parent 625875e commit f548a94

File tree

5 files changed

+14
-7
lines changed

5 files changed

+14
-7
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ repos:
4141
- id: pyupgrade
4242
args: [--py38-plus]
4343

44+
- repo: https://github.com/codespell-project/codespell
45+
rev: "v2.2.5"
46+
hooks:
47+
- id: codespell
48+
args:
49+
["-L", "recuse,nd,coo", "-w", "--skip=static/teams/bots-graphs.html"]
50+
4451
ci:
4552
autofix_prs: false
4653
autofix_commit_msg: "[pre-commit.ci 🤖] Apply code format tools to PR"

config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ params:
7878
text: |
7979
One of our current focuses is on improving and maintaining the
8080
[sparse array]({{< relref "/grants/sparse_arrays/" >}}) capabilities and
81-
inter-operability in the ecosystem.
81+
interoperability in the ecosystem.
8282
- title: Community
8383
text: |
8484
Our [community efforts]({{< relref "/community" >}}) focus

content/about/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ and documentation is released under the [CC-BY](https://creativecommons.org/lice
6464
Learn or teach how to use the scientific Python ecosystem with [classroom-style lecture notes](https://lectures.scientific-python.org).
6565
- **Sparse Arrays**
6666
One of our current focuses is on improving and maintaining the
67-
sparse array capabilities and inter-operability in the ecosystem.
67+
sparse array capabilities and interoperability in the ecosystem.
6868
- **Community**
6969
Our [community efforts]({{< relref "/community" >}}) focus
7070
on broadening participation and better coordinating volunteer efforts.

content/summits/developer/2023/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,4 +229,4 @@ The Scientific Python project also has funding to further develop some of these
229229
- [May 15, SPECs](https://hackmd.io/MmbP4VTATyG129_U56xdJQ)
230230
- [May 18, Community & Documentation](https://hackmd.io/YL5DNtsaSsS-1ZU3Pxkrxg)
231231
- [May 19, Build Systems & CI Infrastructure](https://hackmd.io/0M1Yh7KwTnaXSsU14BiyQw)
232-
- [May 19, PyTest plugins & Sphinx extentions](https://hackmd.io/JL5slkxORA-q7VRN79v1sA)
232+
- [May 19, PyTest plugins & Sphinx extensions](https://hackmd.io/JL5slkxORA-q7VRN79v1sA)

content/summits/sparse/array-followup-2023-06-17.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ title: "Summit Follow Up June 17"
3333
- CJ's fork, make PRs onto branch there
3434
- Using the view on the diff on GitHub might prevent the creation of spurious Draft PR
3535
- Dense pretending to be sparse can be ephermeral, never needs to go to scipy
36-
- Dan will make a branch for exploration that people can fork and make PRs to. Dan will try to keep it uptodate with the main branch too.
36+
- Dan will make a branch for exploration that people can fork and make PRs to. Dan will try to keep it up-to-date with the main branch too.
3737
- 1d sparse array support
38-
Timeline? - Dan + CJ working on it - Targetting 1.12
38+
Timeline? - Dan + CJ working on it - Targeting 1.12
3939
- nd sparse array support
40-
- Julien, CJ: seems like low priority and this would be a huge maintainance cost SciPy for relatively rare use-cases
40+
- Julien, CJ: seems like low priority and this would be a huge maintenance cost SciPy for relatively rare use-cases
4141
- CJ: Array api makes interop easier, we can lean on external packages for now
4242
- creation functions [scipy#18592](https://github.com/scipy/scipy/issues/18592)
4343
- Want to get them out in a single release
@@ -56,7 +56,7 @@ title: "Summit Follow Up June 17"
5656
- Personally would like scikit-learn to follow SPEC 0
5757
- See discussion for [1.3](https://github.com/scikit-learn/scikit-learn/issues/26438)
5858
- [Dedicated RFC](https://github.com/scikit-learn/scikit-learn/issues/26418)
59-
- Some part of scikit-learn's behavior depends on SciPy's version (e.g. see [this one](https://github.com/scikit-learn/scikit-learn/blob/784ba9ef9f65d5e4e33087dd7f5b87d65b605efc/sklearn/preprocessing/_polynomial.py#L61-L73)); we might potentialy rely on similar mechanism for the support of sparse arrays (e.g. reshaping outputs)
59+
- Some part of scikit-learn's behavior depends on SciPy's version (e.g. see [this one](https://github.com/scikit-learn/scikit-learn/blob/784ba9ef9f65d5e4e33087dd7f5b87d65b605efc/sklearn/preprocessing/_polynomial.py#L61-L73)); we might potentially rely on similar mechanism for the support of sparse arrays (e.g. reshaping outputs)
6060
- scikit-learn uses nightly builds to test the developer version of SciPy and NumPy and failing tests are updated in [this issue](https://github.com/scikit-learn/scikit-learn/issues/26154). We can watch those for breakage in scikit-learn when we make changes in SciPy.
6161
- General speed ups
6262
- "Fast path for canonical"

0 commit comments

Comments
 (0)