Skip to content

Commit c2b9c1b

Browse files
committed
ADD: ruff linting to tests
1 parent 6c25c52 commit c2b9c1b

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

‎.github/workflows/test_rainforest_dev.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ jobs:
5454
working-directory: /tmp/
5555
run: |
5656
python -c "import rainforest; print(rainforest.__file__)"
57+
- name: Run Linting
58+
shell: bash -l {0}
59+
run: |
60+
ruff check .
5761
- name: Run tests
5862
env:
5963
AWS_KEY: ${{ secrets.AWS_KEY }}

‎.github/workflows/test_rainforest_master.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ jobs:
5252
working-directory: /tmp/
5353
run: |
5454
python -c "import rainforest; print(rainforest.__file__)"
55+
- name: Run Linting
56+
shell: bash -l {0}
57+
run: |
58+
ruff check .
5559
- name: Run tests
5660
env:
5761
AWS_KEY: ${{ secrets.AWS_KEY }}

‎test_requirements.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
pytest
22
boto3
3+
ruff

0 commit comments

Comments
 (0)