Skip to content

Commit e5ce3d0

Browse files
committed
CI/BENCH: Add style checks for benchmarks
1 parent 1161fbe commit e5ce3d0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ jobs:
4949
poetry run ruff version
5050
# Check the source file, ignore type annotations (ANN) for now.
5151
poetry run ruff check numpy_financial/ --ignore F403 --select E,F,B,I
52-
# Check the test file
53-
poetry run ruff check tests/ --select E,F,B,I
52+
# Check the test and benchmark files
53+
poetry run ruff check tests/ benchmarks/ --select E,F,B,I

benchmarks/benchmarks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import numpy as np
2+
23
import numpy_financial as npf
34

45

0 commit comments

Comments
 (0)