` repeatedly
"graphblas_algorithms/nxapi/exception.py" = ["F401"] # Allow unused imports (w/o defining `__all__`)
"scripts/*.py" = ["INP001", "S101", "T201"] # Not a package, allow assert, allow print
-[tool.ruff.flake8-builtins]
+[tool.ruff.lint.flake8-builtins]
builtins-ignorelist = ["copyright"]
-[tool.ruff.flake8-pytest-style]
+[tool.ruff.lint.flake8-pytest-style]
fixture-parentheses = false
mark-parentheses = false
-[tool.ruff.pydocstyle]
+[tool.ruff.lint.pydocstyle]
convention = "numpy"
diff --git a/scripts/bench.py b/scripts/bench.py
index 3b3f4dc..2e432b8 100755
--- a/scripts/bench.py
+++ b/scripts/bench.py
@@ -67,7 +67,7 @@ def readfile(filepath, is_symmetric, backend):
def best_units(num):
- """Returns scale factor and prefix such that 1 <= num*scale < 1000"""
+ """Returns scale factor and prefix such that ``1 <= num*scale < 1000``."""
if num < 1e-12:
return 1e15, "f"
if num < 1e-9:
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy