Skip to content

Commit

Permalink
Fix ruff comments issue
Browse files Browse the repository at this point in the history
  • Loading branch information
atharva-2001 committed Jul 30, 2024
1 parent 17ee287 commit 1bfae23
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: codestyle
on:
push:
branches:
- "*"
- "master"

pull_request_target:
branches:
Expand Down Expand Up @@ -58,11 +58,21 @@ jobs:

- name: Show statistics
run: ruff check --statistics --show-fixes . | tee ruff_stats.txt
id: ruff_stats

- name: Show entire output
run: ruff check . --output-format=full | tee ruff_full.txt
id: ruff_complete
run: ruff check . --output-format=concise | tee ruff_full.txt

- name: Statistics output read
id: ruff_stats
uses: juliangruber/[email protected]
with:
path: ruff_stats.txt

- name: Entire output read
id: ruff_complete
uses: juliangruber/[email protected]
with:
path: ruff_full.txt

- name: Find Comment
if: always() && github.event_name == 'pull_request_target'
Expand Down

0 comments on commit 1bfae23

Please sign in to comment.