Skip to content

chore(deps): update matplotlib requirement from ~=3.8.4 to ~=3.9.0 #63

chore(deps): update matplotlib requirement from ~=3.8.4 to ~=3.9.0

chore(deps): update matplotlib requirement from ~=3.8.4 to ~=3.9.0 #63

name: 💅 Format Codebase
on:
push:
branches:
- main
permissions: write-all
jobs:
format-codebase:
runs-on: ubuntu-latest
name: 💅 Format Codebase
steps:
- name: 📀 Checkout Repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: 💄 Run Prettier
uses: creyD/[email protected]
with:
prettier_options: --write **/*.{json,md}
commit_message: "chore(codebase): format with prettier"
only_changed: True
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 🐍 Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: requirements.txt
- name: 🖤 Format code with black
run: |
git config --global user.email "[email protected]"
git config --global user.name "HarryVasanth"
pip install black
black . --verbose
git add .
- name: 📎 Push changes
run: |
git diff-index --quiet HEAD || git commit -m "chore(codebase): format with black" && git push || echo "No changes" && exit