Skip to content

Commit

Permalink
Add linters workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kostrykin committed Sep 17, 2024
1 parent 7cb5085 commit 59f2716
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Linters

on:
workflow_dispatch:
pull_request:
branches: ['*']

jobs:

run_linters:

runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 isort
- name: Run linters
run: |
flake8 superdsm
isort superdsm --check-only --diff
isort tests --check-only --diff

0 comments on commit 59f2716

Please sign in to comment.