Skip to content

Merge pull request #61 from IsaacCheng9/dependabot/pip/certifi-2024.7.4 #36

Merge pull request #61 from IsaacCheng9/dependabot/pip/certifi-2024.7.4

Merge pull request #61 from IsaacCheng9/dependabot/pip/certifi-2024.7.4 #36

Workflow file for this run

name: Format
on: [push]
jobs:
format:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.12.x]
steps:
- uses: actions/checkout@v3
- name: Run Python code formatting with Ruff
uses: chartboost/ruff-action@main
with:
args: "format --exclude src/trading_portfolio_tracker/ui"
- name: Commit changes made by Ruff
uses: stefanzweifel/git-auto-commit-action@master
with:
commit_message: Format Python code with Ruff
- name: Switch to current branch
run: git checkout ${{ env.BRANCH }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@main
with:
python-version: ${{ matrix.python-version }}