google / benchmark

A microbenchmark support library
Apache License 2.0
8.6k stars 1.57k forks source link

Replace isort hook with ruff builtin import sorting #1689

Closed nicholasjng closed 8 months ago

nicholasjng commented 8 months ago

This behaves the same, and saves a pre-commit step. ruff just needs an additional package location hint to correctly map first-part packages (in this case, google_benchmark).

This revealed a misformat in the google_benchmark/__init__.py, which is now fixed.