Skip to content

Commit 480eb36

Browse files
committed
ubench ruff noqa (in files)
1 parent 1c10b09 commit 480eb36

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ repos:
7474
hooks:
7575
- id: ruff
7676
args: ["--fix", "--show-fixes"]
77-
exclude: ^(ubench/holder_comparison\.py|ubench/holder_comparison_extract_sheet_data\.py)$
7877

7978
# Checking for common mistakes
8079
- repo: https://github.com/pre-commit/pygrep-hooks

ubench/holder_comparison.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
"""Simple comparison of holder performances, relative to unique_ptr holder."""
22

3+
# ruff: noqa
4+
# This code has no unit tests.
5+
# ruff cleanup deferred until the next time this code is actually used.
6+
37
import collections
48
import sys
59
import time

ubench/holder_comparison_extract_sheet_data.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
"""Extract mean ratios from holder_comparison.py output."""
22

3+
# ruff: noqa
4+
# This code has no unit tests.
5+
# ruff cleanup deferred until the next time this code is actually used.
6+
37

48
import sys
59
from typing import List, Optional

0 commit comments

Comments
 (0)