Fix conflicts #161
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PEP8 Style Guide Enforcement \ Requirements check | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Installation of testing utilities (Pipreqs, Pylint) | |
run: | | |
python -m pip install --upgrade pip | |
pip install pipreqs pylint | |
- name: Dependency check (Run Pipreqs) | |
run: | | |
pipreqs --savepath src/reqs-check.txt --mode no-pin src/ | |
python requirements_check.py src/requirements.txt src/reqs-check.txt | |
- name: Install Dependencies | |
run: | | |
pip install -r src/requirements.txt | |
- name: Style check (Run Pylint) | |
run: | | |
pylint $(git ls-files 'src/*.py') |