Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/repo-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@ name: Repo Checks
on: ["push", "pull_request"]

jobs:
check_python_quality:
name: Code Quality
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v6
with:
python-version: "3.11"
- run: pip install -r llm/requirements.txt
- run: ruff check llm/
- run: ruff format --check llm/
Comment on lines +16 to +17
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would we like to do this on the analysis/ directory too?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per our Zoom discussion, lets scope it to llm/ since that's where we expect all of our python analysis scripts to live for now and we do not want to apply ruff to ipynb's that live elsewhere.

- run: pytest llm/

check_code_quality:
name: Code Quality
runs-on: ubuntu-latest
Expand Down
Loading