Skip to content

Commit

Permalink
fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimmension committed Dec 16, 2023
1 parent 0d5390d commit 327d69f
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,35 @@
name: Main test
on: [push]
jobs:
linter_hw1:
linter_hw2:
name: Linter for HW1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Python installation
uses: actions/setup-python@v2
with:
python-version: 3.10.6
- name: Dependencies installtion
run: |
python -m pip install --upgrade pip
pip install flake8==3.9.0 wemake-python-styleguide==0.15.3 bandit==1.7.2
- name: Flake8
run: |
cd hw1
flake8
tests_for_hw1:
tests_for_hw2:
name: Tests for hw1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Python installation
uses: actions/setup-python@v2
with:
python-version: 3.10.6
- name: Dependencies installation
run: |
python -m pip install --upgrade pip
pip install pytest==6.2.5
- name: Pytest
run: |
Expand Down

0 comments on commit 327d69f

Please sign in to comment.