Skip to content

Commit

Permalink
Merge pull request #2666 from chaoss/use-pylint-checks
Browse files Browse the repository at this point in the history
Use Reviewdog to Annotate PRs with Pylint and Spellcheck
  • Loading branch information
sgoggins committed Jan 18, 2024
2 parents 562450e + d723825 commit e3e9a61
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/checks.yml
@@ -0,0 +1,31 @@
name: "run-linting-checks"
on:
pull_request:
branches: [main, dev]

jobs:
run-pylint:
name: runner / pylint
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dciborow/action-pylint@0.1.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
level: warning
glob_pattern: "**/*.py"
filter_mode: "file"

misspell:
name: runner / misspell
runs-on: ubuntu-latest
steps:
- name: Highlight any misspellings in changes.
uses: actions/checkout@v4
- name: misspell
uses: reviewdog/action-misspell@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
locale: "US"

0 comments on commit e3e9a61

Please sign in to comment.