diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index 095f637..f6a82e5 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -9,11 +9,12 @@ jobs: - uses: actions/setup-python@v4 with: python-version: "3.9" + - name: Install Ruff + run: pip install ruff - name: Run Ruff with auto-fix - uses: chartboost/ruff-action@v1 - with: - args: --fix # Automatically apply safe fixes - - uses: stefanzweifel/git-auto-commit-action@v4 + run: ruff check . --fix # Use `ruff check` with the `--fix` argument to auto-fix + - name: Commit changes if there are any + uses: stefanzweifel/git-auto-commit-action@v4 with: commit_message: 'style fixes by ruff' - file_pattern: '*.py' # Ensure only Python files are committed \ No newline at end of file + file_pattern: '*.py' \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index dc20ece..fdd2ede 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ dependencies = [ "numpy", "pandas", "seaborn==0.11.2", - "matplotlib==3.8.4", + "matplotlib==3.7.3", "statannotations==0.6.0", "scipy" ]