Skip to content

Commit

Permalink
adding lint checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
tybruno committed Jun 20, 2024
1 parent 70ea5f2 commit 8f27fd8
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/lint-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: linting

on: workflow_call

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install blue
pip install pylint
pip install pylama
pip install mypy
- name: Check blue
run: |
blue . --check
- name: Analysing the code with pylama
run: |
pylama --skip='tests/*'
- name: Analysing the code with pylint
run: |
pylint caseless_dictionary/
- name: Analysing the code with mypy
run: |
mypy caseless_dictionary/

0 comments on commit 8f27fd8

Please sign in to comment.