Skip to content

Add comment to user.py #11

Add comment to user.py

Add comment to user.py #11

Workflow file for this run

name: CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Check code formatting
run: |
pip install flake8
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Validate docker-compose
run: |
docker-compose config
- name: Build Docker images
run: |
docker-compose build
- name: Check for syntax errors
run: |
find . -name "*.py" -exec python -m py_compile {} \;