Skip to content

fix: src/utils/portfolio_analyzer.py -- remove unused import re from portfolio_analyzer.py #1489

fix: src/utils/portfolio_analyzer.py -- remove unused import re from portfolio_analyzer.py

fix: src/utils/portfolio_analyzer.py -- remove unused import re from portfolio_analyzer.py #1489

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: DevPath CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
pip install flake8 pytest
- name: Lint code (non-blocking)
run: |
flake8 . --exit-zero --max-line-length=120
- name: Run tests
run: |
PYTHONPATH=src pytest