Skip to content

Commit

Permalink
Add NPY check to sync with romancal
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamJamieson committed Nov 27, 2024
1 parent 8dc2582 commit 21a2a36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
from importlib_metadata import distribution

try:
numpy.random.seed(int(os.environ["SOURCE_DATE_EPOCH"]))
numpy.random.seed(int(os.environ["SOURCE_DATE_EPOCH"])) # noqa: NPY002
except KeyError:
pass

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ extend-select = [
"B", # BugBear
"S", # Bandit
"RUF", # ruff specific
"NPY", # numpy specific
]

[tool.ruff.lint.per-file-ignores]
Expand Down

0 comments on commit 21a2a36

Please sign in to comment.