Skip to content

Commit

Permalink
Merge pull request #544 from konstruktoid/checks
Browse files Browse the repository at this point in the history
run all ruff checks
  • Loading branch information
konstruktoid authored Oct 11, 2024
2 parents aec5b32 + 16bc70e commit 9521a28
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A GitHub action that checks Python code using

```yaml
on: [push, pull_request]
name: Python Linting
name: Python linting

permissions:
contents: read
Expand All @@ -19,10 +19,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@v4

- name: Python linting
uses: konstruktoid/action-pylint@v0.2.2
uses: konstruktoid/action-pylint@v0.8.0
```
## Script
Expand All @@ -32,6 +32,8 @@ jobs:

set -euf

export PATH="${PATH}:/root/.local/bin"

black --check --diff --no-color --quiet .
ruff check --select ALL --ignore ANN --ignore D --ignore INP --ignore PTH --ignore T20 .
ruff check --select ALL .
```
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ set -euf
export PATH="${PATH}:/root/.local/bin"

black --check --diff --no-color --quiet .
ruff check --select ALL --ignore ANN --ignore D --ignore INP --ignore PTH --ignore T20 .
ruff check --select ALL .

0 comments on commit 9521a28

Please sign in to comment.