Skip to content

Commit

Permalink
Update lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mstuttgart committed May 5, 2024
1 parent 70a3531 commit 62b6c7f
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Github CI Lint

on: pull_request

name: Github CI Lint

jobs:

build:
name: Build
runs-on: ubuntu-latest
Expand All @@ -15,17 +14,10 @@ jobs:
with:
python-version: "3.10"

- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.4.2"

- name: Check lock file
run: poetry lock --check

- name: Install poetry packages
run: poetry install --with lint
- name: Install test dependencies
run: |
pip install -e ".[dev]"
pip install ".[lint]"
- name: Lint with pylint
run: |
poetry run pylint brazilcep
run: nox -s pylint

0 comments on commit 62b6c7f

Please sign in to comment.