Skip to content

Commit

Permalink
Merge pull request #128 from pyiron/ruff_sorting
Browse files Browse the repository at this point in the history
Add import sorting to ruff
  • Loading branch information
jan-janssen authored Jul 4, 2024
2 parents 82d97b1 + e8ffebc commit 79fa02a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repos:
hooks:
- id: ruff
name: ruff lint
args: ["--fix"]
args: ["--select", "I", "--fix"]
files: ^pyfileindex/
- id: ruff-format
name: ruff format
4 changes: 2 additions & 2 deletions pyfileindex/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from . import _version

from pyfileindex.pyfileindex import PyFileIndex

from . import _version

__version__ = _version.get_versions()["version"]
__all__ = [PyFileIndex]
2 changes: 1 addition & 1 deletion pyfileindex/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"""Git implementation of _version.py."""

import errno
import functools
import os
import re
import subprocess
import sys
from typing import Any, Callable, Dict, List, Optional, Tuple
import functools


def get_keywords() -> Dict[str, str]:
Expand Down

0 comments on commit 79fa02a

Please sign in to comment.