Skip to content

v0.0.3

Compare
Choose a tag to compare
@Bilbottom Bilbottom released this 10 Sep 21:13
· 41 commits to main since this release
80406e2

v0.0.3 (2023.09.10)

This release has been tested on Windows, macOS, and ubuntu for Python 3.7 to 3.11.

As with v0.0.2, breaking changes should be expected in a future release so don't import from any sub-modules and use keyword arguments liberally. A quick-start template is below:

# pip install git+https://github.com/Bilbottom/[email protected]
import db_query_profiler


def main() -> None:
    db_conn = ...  # TODO: Create your database connection
    db_query_profiler.time_queries(
        conn=db_conn,
        repeat=5,
        directory="queries"  # TODO: Link your directory
    )


if __name__ == "__main__":
    main()

What's Changed

  • Significantly update the pre-commit config
  • Fail pytest if the coverage is too low
  • Add conditional imports and fiddle with protocol method types

Full Changelog