-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from VatsalJagani/ruff-issue-fixes
Python formatting issues fixed.
- Loading branch information
Showing
7 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,12 +37,13 @@ jobs: | |
- name: Run Python Unit Tests | ||
run: pytest tests --junitxml=junit/test-results.xml --cov=src --cov-config=tests/.coveragerc --cov-report=xml | ||
|
||
- name: Linting with Ruff | ||
run: ruff --output-format=github . | ||
continue-on-error: true # need to remove this later on to catch the errors anf fail the workflow on linting errors | ||
|
||
- name: Adding GitHub action step summary | ||
uses: VatsalJagani/[email protected] | ||
with: | ||
pytest_results_file: "junit/test-results.xml" | ||
pytest_cov_file: "coverage.xml" | ||
|
||
- name: Linting with Ruff | ||
run: ruff --output-format=github . | ||
# continue-on-error: true # need to remove this later on to catch the errors anf fail the workflow on linting errors | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
|
||
import os | ||
import re | ||
import subprocess | ||
import hashlib | ||
import helpers.github_action_utils as utils | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import os, re | ||
import os | ||
import re | ||
|
||
|
||
class GlobalVariables: | ||
|