Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
hooks:
- id: black-jupyter
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.15.22"
rev: "v0.16.8"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ line-length = 88
[tool.ruff]
line-length = 88
target-version = "py39"
exclude = ["demos/*"]

[tool.ruff.lint]
select = ["F", "I", "E", "W", "YTT", "B", "Q", "PLE", "PLR", "PLW"]
ignore = [
"E402", # Allow module level imports below top of file
Expand All @@ -66,7 +69,6 @@ ignore = [
"PLR0913", # Allow many arguments to function calls
"PLR2004", # Allow magic numbers
]
exclude = ["demos/*"]

[tool.ruff.isort]
[tool.ruff.lint.isort]
known-first-party = ["fsps"]
2 changes: 1 addition & 1 deletion src/fsps/fsps.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ def _ssp_weights(self):
driver.get_ssp_weights(weights)
return weights

def _get_stellar_spectrum(
def _get_stellar_spectrum( # noqa: PLR0917
self,
mact,
logt,
Expand Down
Loading