Skip to content

Commit

Permalink
run pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Titus-von-Koeller committed Jan 30, 2024
1 parent a6325fa commit 797855b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.14
rev: v0.1.15
hooks:
- id: ruff
args:
Expand Down
6 changes: 3 additions & 3 deletions bitsandbytes/autograd/_functions.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import operator
import warnings
from dataclasses import dataclass
from functools import reduce # Required in Python 3
from typing import Tuple, Optional, Callable
import operator
from typing import Callable, Optional, Tuple
import warnings
from warnings import warn

import torch
Expand Down
2 changes: 1 addition & 1 deletion bitsandbytes/functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
import itertools
import operator
from typing import Any, Dict, Optional, Tuple

import numpy as np
import torch

from torch import Tensor

from bitsandbytes.utils import pack_dict_to_tensor, unpack_tensor_to_dict
Expand Down
1 change: 0 additions & 1 deletion bitsandbytes/research/autograd/_functions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from dataclasses import dataclass
from functools import reduce # Required in Python 3
import operator
from typing import Optional
Expand Down

0 comments on commit 797855b

Please sign in to comment.