diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 065b310..dc51bbe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,14 +18,14 @@ repos: - id: check-yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.2.2" + rev: "v0.3.2" hooks: - id: ruff args: ["--fix", "--show-fixes"] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.9.0 hooks: - id: mypy files: src diff --git a/src/hepunits/units/units.py b/src/hepunits/units/units.py index a6b1b31..af27e11 100644 --- a/src/hepunits/units/units.py +++ b/src/hepunits/units/units.py @@ -66,7 +66,6 @@ .. [SI] http://www.physics.nist.gov/cuu/Units/index.html. """ - from math import pi as _pi from typing import List