Skip to content

Commit

Permalink
Add directory flags for running linters in build script
Browse files Browse the repository at this point in the history
Updated the build script to include the '-d' flags when running Python and Java linters. This ensures the correct directory context is applied for each language linter, improving the accuracy of lint checks.
  • Loading branch information
meanmail committed Sep 24, 2024
1 parent d0287cd commit eeaf4c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ jobs:
- name: Check installed module can run python linters
run: |
cd /review
/hyperstyle/bin/python -m hyperstyle.src.python.review.run_tool test/resources/inspectors/python/case39_no_issues.py
/hyperstyle/bin/python -m hyperstyle.src.python.review.run_tool -d=ij_python test/resources/inspectors/python/case39_no_issues.py
- name: Check installed module can run java linters
run: |
cd /review
/hyperstyle/bin/python -m hyperstyle.src.python.review.run_tool test/resources/inspectors/java/test_algorithm_with_scanner.java
/hyperstyle/bin/python -m hyperstyle.src.python.review.run_tool -d=ij_java test/resources/inspectors/java/test_algorithm_with_scanner.java
- name: Check installed module can run js linters
run: |
Expand Down

0 comments on commit eeaf4c4

Please sign in to comment.