Skip to content

fix python lint issue #4

fix python lint issue

fix python lint issue #4

Workflow file for this run

name: Pylint Scan
on:
pull_request:
paths:
- 'src/**/*.py'
push:
branches:
- main
paths:
- 'src/**/*.py'
workflow_dispatch:
jobs:
codescan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
pip3 install --upgrade pip
pip3 install pylint
for f in $(find -type f -name "requirements.txt"); do
pip3 install -r $f
done
- name: Analyzing the python code
run: |
set -ex
export PYTHONPATH=$PWD/src/tia/
find . -type f -name "*.py" | xargs pylint