Skip to content

Commit

Permalink
ubench ruff noqa (in files)
Browse files Browse the repository at this point in the history
  • Loading branch information
rwgk committed Feb 22, 2023
1 parent 1c10b09 commit 480eb36
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions ubench/holder_comparison.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions ubench/holder_comparison_extract_sheet_data.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 480eb36

Please sign in to comment.