Skip to content

Commit

Permalink
Create lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aegilops authored Sep 14, 2023
1 parent 399545e commit e9812c7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Python Lint Workflow
on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '24 8 * * 4'
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
linter: [flake8, pylint, ruff, mypy, pytype, pyright, fixit]
steps:
- name: Run Python Lint
uses: aegilops/python-lint-code-scanning-action@main
with:
linter: ${{ matrix.linter }}

0 comments on commit e9812c7

Please sign in to comment.