Skip to content

Commit

Permalink
Create style.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lynxrv21 authored Oct 21, 2023
1 parent 04d75a1 commit 173b375
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: style

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
run: |
black --check --diff .
isort --check --diff .

0 comments on commit 173b375

Please sign in to comment.