Skip to content

Commit 7559676

Browse files
committed
Fix mergeability check warning.
1 parent 2eec000 commit 7559676

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

site/numpy_timeseries.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -337,11 +337,11 @@ open_prs = [pr for pr in prs if pr["state"] == "OPEN"]
337337
338338
# The GraphQL query does not reliably return information on PR mergeability.
339339
# Warn if there are problems
340-
if any([pr["mergeable"] == "UNKOWN" for pr in open_prs]):
340+
if any([pr["mergeable"] == "UNKNOWN" for pr in open_prs]):
341341
warnings.warn(
342342
(
343343
"\n\nThe data contains PRs with unknown merge status.\n"
344-
"Please re-download the data to get accurate info about PR mergeability.",
344+
"Please re-download the data to get accurate info about PR mergeability."
345345
),
346346
UserWarning,
347347
stacklevel=2,
@@ -362,8 +362,5 @@ ax.legend()
362362
ax.set_xlabel("Date of PR creation")
363363
ax.set_ylabel(r"# of conflicting PRs")
364364
fig.autofmt_xdate()
365-
fig.tight_layout()
366-
```
367-
368-
365+
fig.tight_layout();
369366
```

0 commit comments

Comments
 (0)