Skip to content

Commit 96b192d

Browse files
committed
Replace flake8: noqa with ruff: noqa
Not entirely necessary as ruff will also respect the `flake8: noqa` markers but probably better to update these as flake8 is no longer used in the repo Signed-off-by: Fynn Schmitt-Ulms <[email protected]>
1 parent 39beae6 commit 96b192d

File tree

46 files changed

+46
-48
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+46
-48
lines changed

src/llmcompressor/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
PyTorch and HuggingFace Transformers, allowing for quick experimentation.
77
"""
88

9-
# flake8: noqa
9+
# ruff: noqa
1010

1111
from .logger import LoggerConfig, configure_logger, logger
1212
from .version import __version__, version

src/llmcompressor/args/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# flake8: noqa
1+
# ruff: noqa
22

33
from .dataset_arguments import DatasetArguments
44
from .model_arguments import ModelArguments

src/llmcompressor/datasets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# flake8: noqa
1+
# ruff: noqa
22

33
from .utils import (
44
format_calibration_data,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# flake8: noqa
1+
# ruff: noqa
22
from .oneshot import Oneshot, oneshot
33
from .train import train
44
from .utils import post_process, pre_process

src/llmcompressor/metrics/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# flake8: noqa
1+
# ruff: noqa
22

33
from .logger import *
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# flake8: noqa
1+
# ruff: noqa
22

33
from .frequency_manager import *
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# flake8: noqa
1+
# ruff: noqa
22

33
from .fuse import *
44
from .prepare import *
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# flake8: noqa
1+
# ruff: noqa
22

33
from .base import *
44
from .mappings import *
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# flake8: noqa
1+
# ruff: noqa
22

33
from .output import *
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# flake8: noqa
1+
# ruff: noqa
22

33
from .base import *

0 commit comments

Comments
 (0)