Skip to content

Commit 58f80bf

Browse files
Update formatting to include all Python files in project
1 parent 31889d0 commit 58f80bf

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
28+
pip install -r requirements.txt
2829
pip install -e .
29-
pip install pytest pytest-cov black isort
3030
3131
- name: Check formatting with black
3232
run: |
33-
black --check anomaly_detection/ tests/
33+
black --check .
3434
3535
- name: Check import sorting with isort
3636
run: |
37-
isort --check-only anomaly_detection/ tests/
37+
isort --check-only .
3838
3939
- name: Run tests with coverage
4040
run: |

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ test:
88
pytest tests/ --cov=anomaly_detection --cov-report=term-missing -v
99

1010
lint:
11-
black --check anomaly_detection/ tests/
12-
isort --check-only anomaly_detection/ tests/
11+
black --check .
12+
isort --check-only .
1313

1414
format:
15-
black anomaly_detection/ tests/
16-
isort anomaly_detection/ tests/
15+
black .
16+
isort .
1717

1818
check-format:
19-
black --check anomaly_detection/ tests/
19+
black --check .
2020

2121
check-imports:
22-
isort --check-only anomaly_detection/ tests/
22+
isort --check-only .
2323

2424
clean:
2525
find . -type d -name "__pycache__" -exec rm -r {} +

0 commit comments

Comments
 (0)