Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#292)
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 committed Jun 5, 2023
1 parent fca5c38 commit 2e854b8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.22.0
rev: 0.23.1
hooks:
- id: check-github-workflows

Expand All @@ -36,7 +36,7 @@ repos:
- id: black

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.263
rev: v0.0.270
hooks:
- id: ruff
args: ["--fix"]
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ python:
build:
os: ubuntu-22.04
tools:
python: "3.9"
python: "3.9"
2 changes: 1 addition & 1 deletion oct2py/tests/test_roundtrip.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def test_nested_dict(self):

def test_set(self):
"""Test python set type"""
test: Any = {1, 2, 3, 3}
test: Any = {1, 2, 3}
incoming = self.oc.roundtrip(test)
assert np.allclose(tuple(test), incoming)
assert isinstance(incoming, np.ndarray)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ dependencies = [
"black[jupyter]==23.3.0",
"mdformat>0.7",
"mdformat-gfm>=0.3.5",
"ruff==0.0.263"
"ruff==0.0.270"
]
detached = true
[tool.hatch.envs.lint.scripts]
Expand Down

0 comments on commit 2e854b8

Please sign in to comment.