Skip to content

fix pylint

fix pylint #15

Workflow file for this run

name: Main test
on: [push]
jobs:
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_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: |
cd hw1
pytest
linter_hw2:

Check failure on line 38 in .github/workflows/pylint.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pylint.yml

Invalid workflow file

You have an error in your yaml syntax on line 38
name: Linter for HW2
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 hw2
flake8
tests_for_hw2:
name: Tests for hw2
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: |
cd hw2
pytest