Skip to content

Commit

Permalink
Set minimal target version for ruff to Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrjurkiewicz committed Aug 26, 2024
1 parent 951e6ce commit 55694ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install ruff==0.6.2
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run ruff
run: ruff check --output-format=github flow_models

Expand Down
2 changes: 2 additions & 0 deletions flow_models/lib/kde.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# ruff: noqa

# Taken from SciPy
# scipy/stats/kde.py at 79ed161bf603dc3af3986efe7064df79212c4dd4

Expand Down
2 changes: 1 addition & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
line-length = 220
target-version = "py312"
target-version = "py310"

[lint]
select = ["ALL"]
Expand Down

0 comments on commit 55694ad

Please sign in to comment.