Skip to content

Commit 2305b9f

Browse files
committed
Fix linting
1 parent 73706f2 commit 2305b9f

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.typos.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[default]
2+
extend-ignore-re = [
3+
# Custom ignore regex patterns:
4+
# https://github.com/crate-ci/typos/blob/master/docs/reference.md#example-configurations
5+
".*(?:#|--|//|/*).*(?:typos):\\s?ignore[^\\n]*\\n",
6+
".*(?:typos):\\s?ignore-next-line[^\\n]*\\n[^\\n]*",
7+
]

examples/polar_cap/eigenfunctions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def main() -> None:
3333
i = (x < THETA_MAX).sum()
3434
_, ax = plt.subplots(ROWS, COLUMNS, sharex="col", sharey="row")
3535
axes = ax.flatten()
36-
plt.setp(
36+
plt.setp( # typos: ignore
3737
ax,
3838
xlim=[0, 180],
3939
xticks=[0, 40, 180],

examples/polar_cap/simons_5_1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def main() -> None:
2929
x = np.linspace(THETA_MIN_DEFAULT, np.rad2deg(THETA_MAX_DEFAULT), RESOLUTION + 1)
3030
i = (x < THETA_MAX).sum()
3131
_, ax = plt.subplots(ORDERS, RANKS, sharex="col", sharey="row")
32-
plt.setp(
32+
plt.setp( # typos: ignore
3333
ax,
3434
xlim=[0, 180],
3535
xticks=[0, 40, 180],

0 commit comments

Comments
 (0)