⬆️ Update requirements.txt (#31) #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linter | |
on: | |
- push | |
- pull_request | |
jobs: | |
lint-python: | |
name: Python Linting | |
runs-on: ubuntu-latest | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Install Dependencies | |
run: | | |
pip install ruff==0.7.1 | |
pip install black==24.3.0 | |
- name: Run Ruff | |
run: ruff check --output-format=github aide/ | |
- name: Run Black | |
run: black --check --diff aide/ |