Skip to content

Commit

Permalink
fix: updated ruff to include numpy 2.0 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaSiraj committed Dec 30, 2024
1 parent 3463847 commit 1f2f43d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions config/ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ select = [
# Pydocstyle
# https://docs.astral.sh/ruff/rules/#pydocstyle-d
# "D",

###########################################################################
# MIGRATION TO NUMPY2
# https://numpy.org/doc/stable/numpy_2_0_migration_guide.html
"NPY201",
]

ignore = [
Expand Down
2 changes: 1 addition & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ serve.cmd = "mkdocs serve -f mkdocs.yml"
############################################## QUALITY ###############################################
# Quality includes linting, type checking, and formatting
[feature.quality.dependencies]
ruff = ">=0.4.4"
ruff = ">=0.4.8"
mypy = ">=1.13.0,<2"
types-pytz = ">=2024.2.0.20241003,<2025"
types-tqdm = ">=4.66.0.20240417,<5"
Expand Down

0 comments on commit 1f2f43d

Please sign in to comment.