Skip to content

Commit

Permalink
fix black
Browse files Browse the repository at this point in the history
  • Loading branch information
teddygroves committed Mar 26, 2024
1 parent a3fe311 commit ffe57e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
- id: check-merge-conflict
- id: detect-private-key
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 24.3.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
Expand All @@ -19,6 +19,6 @@ repos:
name: isort (python)
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.0.278
rev: v0.3.4
hooks:
- id: ruff
6 changes: 3 additions & 3 deletions maud/data_model/maud_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ def inits_dict(self) -> Dict:
inits_dict[param.name] = param.inits.inits_unscaled
if param.inits.inits_scaled is not None:
scaled_pref = "log_" if param.non_negative else ""
inits_dict[
scaled_pref + param.name + "_z"
] = param.inits.inits_scaled
inits_dict[scaled_pref + param.name + "_z"] = (
param.inits.inits_scaled
)
if param.fixed_ids is not None:
met_to_init = dict(
zip(param.inits.ids[0], param.inits.inits_unscaled)
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ packages = [

[tool.black]
line-length = 80
python-version = ['py38', 'py39']
exclude = '''
(
__init__.py
Expand Down

0 comments on commit ffe57e5

Please sign in to comment.