Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#219)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Steven Silvester <steven.silvester@ieee.org>
  • Loading branch information
pre-commit-ci[bot] and blink1073 authored Apr 7, 2023
1 parent 6c3749b commit 11f42af
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"]
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__"]

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 11f42af

Please sign in to comment.