Skip to content

Commit

Permalink
Create static.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fossum authored Oct 3, 2024
1 parent 3574cfb commit 191fce1
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Pylint

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip pipenv
pipenv install --dev
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
- name: Analysing the code with pylint
run: |
mypy $(git ls-files '*.py')
- name: Analysing the code with pylint
run: |
flake8 $(git ls-files '*.py')

0 comments on commit 191fce1

Please sign in to comment.