Skip to content

Commit

Permalink
STY: Ruff + add auto fix to precommit check
Browse files Browse the repository at this point in the history
  • Loading branch information
mgxd committed Sep 18, 2024
1 parent 82702f4 commit 6339bd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ repos:
- id: check-toml
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.0
rev: v0.6.5
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format
3 changes: 1 addition & 2 deletions nibabies/utils/bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
import os
import sys
import typing as ty
from pathlib import Path
import warnings
from pathlib import Path

import pandas as pd


SUPPORTED_AGE_UNITS = (
'weeks',
'months',
Expand Down

0 comments on commit 6339bd3

Please sign in to comment.