Skip to content

Commit fcc1423

Browse files
authored
DOC/MAINT: Fix some typos regarding GitHub (scipy#21883)
1 parent 3946a43 commit fcc1423

File tree

12 files changed

+16
-16
lines changed

12 files changed

+16
-16
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ doc/source/.jupyterlite.doit.db
107107
.cache/
108108
.pytest_cache/
109109

110-
# github cache #
110+
# GitHub cache #
111111
################
112112
gh_cache.json
113113

doc/source/dev/contributor/adding_new/new_stats_distribution.rst.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Before Implementation
4444
distributions to SciPy is not supported, mainly due to the increase in user
4545
confusion resulting from such additions.
4646
47-
2. Create a `SciPy Issue on github <https://github.com/scipy/scipy/issues>`_,
47+
2. Create a `SciPy Issue on GitHub <https://github.com/scipy/scipy/issues>`_,
4848
listing the distribution, references and reasons for its inclusion.
4949
5050

doc/source/dev/contributor/continuous_integration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ The Action runs:
147147
* when the commit message contains the text ``[wheel build]``
148148
* on a scheduled basis once a week
149149
* when it is started manually.
150-
* when there is a push to the repository with a github reference starting with ``refs/tags/v`` (and not ending with ``dev0``)
150+
* when there is a push to the repository with a GitHub reference starting with ``refs/tags/v`` (and not ending with ``dev0``)
151151

152152
The action does not run on forks of the main SciPy repository. The wheels that
153153
are created are available as artifacts associated with a successful run of the

doc/source/dev/gitwash/useful_git.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Deleting a branch on github_
169169
git checkout main
170170
# delete branch locally
171171
git branch -D my-unwanted-branch
172-
# delete branch on github
172+
# delete branch on GitHub
173173
git push origin :my-unwanted-branch
174174

175175
(Note the colon ``:`` before ``test-branch``. See also:
@@ -185,7 +185,7 @@ share it via github_.
185185

186186
First fork SciPy into your account, as from :ref:`forking`.
187187

188-
Then, go to your forked repository github page, say
188+
Then, go to your forked repository GitHub page, say
189189
``https://github.com/your-user-name/scipy``
190190

191191
Click on the 'Admin' button, and add anyone else to the repo as a

scipy/datasets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
How dataset retrieval and storage works
4141
=======================================
4242
43-
SciPy dataset files are stored within individual github repositories under the
43+
SciPy dataset files are stored within individual GitHub repositories under the
4444
SciPy GitHub organization, following a naming convention as
4545
``'dataset-<name>'``, for example `scipy.datasets.face` files live at
4646
https://github.com/scipy/dataset-face. The `scipy.datasets` submodule utilizes

scipy/optimize/tests/test__root.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def norm(x):
5656
options={"tol_norm": norm})
5757

5858
def test_minimize_scalar_coerce_args_param(self):
59-
# github issue #3503
59+
# GitHub issue #3503
6060
def func(z, f=1):
6161
x, y = z
6262
return np.array([x**3 - 1, y**3 - f])

scipy/optimize/tests/test_minpack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ def test_lambertw(self):
11181118
assert_allclose(xxroot, lambertw(1)/2)
11191119

11201120
def test_no_acceleration(self):
1121-
# github issue 5460
1121+
# GitHub issue 5460
11221122
ks = 2
11231123
kl = 6
11241124
m = 1.3

scipy/signal/tests/test_signaltools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3113,7 +3113,7 @@ def test_residuez_degenerate(self):
31133113
residuez(1, [0, 1, 2, 3])
31143114

31153115
def test_inverse_unique_roots_different_rtypes(self):
3116-
# This test was inspired by github issue 2496.
3116+
# This test was inspired by GitHub issue 2496.
31173117
r = [3 / 10, -1 / 6, -2 / 15]
31183118
p = [0, -2, -5]
31193119
k = []

scipy/signal/tests/test_windows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ def test_invalid_inputs(self):
714714
assert_raises(ValueError, windows.get_window, 'broken', 4)
715715

716716
def test_array_as_window(self):
717-
# github issue 3603
717+
# GitHub issue 3603
718718
osfactor = 128
719719
sig = np.arange(128)
720720

scipy/sparse/tests/test_base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ def check(dtype):
14621462
for dtype in self.math_dtypes:
14631463
check(dtype)
14641464

1465-
# github issue #15210
1465+
# GitHub issue #15210
14661466
def test_rmul_scalar_type_error(self):
14671467
datsp = self.datsp_dtypes[np.float64]
14681468
with assert_raises(TypeError):
@@ -2502,7 +2502,7 @@ def check(dtype):
25022502
check(np.dtype(dtype))
25032503

25042504
def test_negative_index_assignment(self):
2505-
# Regression test for github issue 4428.
2505+
# Regression test for GitHub issue 4428.
25062506

25072507
def check(dtype):
25082508
A = self.spcreator((3, 10), dtype=dtype)
@@ -5055,7 +5055,7 @@ def test_eliminate_zeros(self):
50555055
assert_array_equal(asp.nnz, 3*4)
50565056
assert_array_equal(asp.toarray(), bsp.toarray())
50575057

5058-
# github issue #9687
5058+
# GitHub issue #9687
50595059
def test_eliminate_zeros_all_zero(self):
50605060
np.random.seed(0)
50615061
m = self.bsr_container(np.random.random((12, 12)), blocksize=(2, 3))

0 commit comments

Comments
 (0)