Skip to content

Refactor services for improved readability and maintainability #1469

Refactor services for improved readability and maintainability

Refactor services for improved readability and maintainability #1469

Workflow file for this run

name: PyLint
on:
push:
paths:
- 'content-gen/src/backend/**/*.py'
- 'content-gen/src/backend/requirements*.txt'
- '.flake8'
- '.github/workflows/pylint.yml'
permissions:
contents: read
actions: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r content-gen/src/backend/requirements.txt
pip install flake8 # Ensure flake8 is installed explicitly
- name: Run flake8 and pylint
run: |
flake8 --config=.flake8 content-gen/src/backend # Specify the directory to lint