ubench ruff noqa (in files)

This commit is contained in:
Ralf W. Grosse-Kunstleve 2023-02-22 14:00:06 -08:00
parent 1c10b097a7
commit 480eb36b3a
3 changed files with 8 additions and 1 deletions

View File

@ -74,7 +74,6 @@ repos:
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
exclude: ^(ubench/holder_comparison\.py|ubench/holder_comparison_extract_sheet_data\.py)$
# Checking for common mistakes
- repo: https://github.com/pre-commit/pygrep-hooks

View File

@ -1,5 +1,9 @@
"""Simple comparison of holder performances, relative to unique_ptr holder."""
# ruff: noqa
# This code has no unit tests.
# ruff cleanup deferred until the next time this code is actually used.
import collections
import sys
import time

View File

@ -1,5 +1,9 @@
"""Extract mean ratios from holder_comparison.py output."""
# ruff: noqa
# This code has no unit tests.
# ruff cleanup deferred until the next time this code is actually used.
import sys
from typing import List, Optional