mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-13 09:03:54 +00:00
ubench ruff noqa (in files)
This commit is contained in:
parent
1c10b097a7
commit
480eb36b3a
@ -74,7 +74,6 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: ["--fix", "--show-fixes"]
|
args: ["--fix", "--show-fixes"]
|
||||||
exclude: ^(ubench/holder_comparison\.py|ubench/holder_comparison_extract_sheet_data\.py)$
|
|
||||||
|
|
||||||
# Checking for common mistakes
|
# Checking for common mistakes
|
||||||
- repo: https://github.com/pre-commit/pygrep-hooks
|
- repo: https://github.com/pre-commit/pygrep-hooks
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
"""Simple comparison of holder performances, relative to unique_ptr holder."""
|
"""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 collections
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
"""Extract mean ratios from holder_comparison.py output."""
|
"""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
|
import sys
|
||||||
from typing import List, Optional
|
from typing import List, Optional
|
||||||
|
Loading…
Reference in New Issue
Block a user