Created a utility function to generate a shap beeswarm plot #100
Workflow file for this run
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: style | |
on: | |
pull_request: # any pull request | |
jobs: | |
style: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Python environment | |
uses: ./.github/actions/setup-python-env | |
with: | |
python-version: "3.10" | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v45 | |
with: | |
files: | | |
**.py | |
**.ipynb | |
- name: Run linter | |
if: steps.changed-files.outputs.any_changed == 'true' | |
run: | | |
uv tool run ruff check --diff ${{ steps.changed-files.outputs.all_changed_files }} | |
- name: Run formatter | |
if: steps.changed-files.outputs.any_changed == 'true' | |
run: | | |
uv tool run ruff format --diff ${{ steps.changed-files.outputs.all_changed_files }} |