Skip to content

Commit b2642fb

Browse files
authored
Ruff Lint fixes (torchao/quantization) (pytorch#1244)
1 parent 299aacd commit b2642fb

30 files changed

+1793
-848
lines changed

ruff.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@
44
# Example: To lint all files in every subfolder of 'test', add "test/**/*"
55
include = [
66
"torchao/float8/**/*.py",
7-
"torchao/dtypes/nf4tensor.py",
87
"test/dtypes/test_nf4.py",
9-
"torchao/quantization/linear_activation_weight_observer.py",
8+
"torchao/quantization/**/*.py",
109
"test/quantization/test_observer.py",
1110
"test/dtypes/test_affine_quantized_float.py",
12-
"torchao/quantization/weight_tensor_linear_activation_quantization.py",
1311
"torchao/dtypes/**/*.py",
1412
"torchao/prototype/low_bit_optim/**.py",
1513
"test/prototype/low_bit_optim/**.py",

0 commit comments

Comments
 (0)