diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d7f933e..f15ab99 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.21.0 + rev: 0.22.0 hooks: - id: check-github-workflows @@ -32,12 +32,12 @@ repos: [mdformat-gfm, mdformat-frontmatter, mdformat-footnote] - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 23.3.0 hooks: - id: black - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.254 + rev: v0.0.260 hooks: - id: ruff args: ["--fix"] diff --git a/doc/conf.py b/doc/conf.py index e2c5003..77e1246 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -53,7 +53,7 @@ version_ns: dict = {} exec(compile(open(_version_py).read(), _version_py, "exec"), version_ns) # noqa # The short X.Y version. -version = "%s.%s" % tuple(version_ns["__version__"].split(".")[:2]) +version = "{}.{}".format(*tuple(version_ns["__version__"].split(".")[:2])) # The full version, including alpha/beta/rc tags. release = version_ns["__version__"] diff --git a/pyproject.toml b/pyproject.toml index 1611550..c09cad1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,10 +53,10 @@ test = "mypy --install-types --non-interactive {args:terminado}" [tool.hatch.envs.lint] dependencies = [ - "black[jupyter]==23.1.0", + "black[jupyter]==23.3.0", "mdformat>0.7", "mdformat-gfm>=0.3.5", - "ruff==0.0.254" + "ruff==0.0.260" ] [tool.hatch.envs.lint.scripts] style = [