mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
ubench ruff noqa (in files)
This commit is contained in:
parent
1c10b097a7
commit
480eb36b3a
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user