Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#84)
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 <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and blink1073 authored Jul 10, 2023
1 parent 91bf484 commit 142b4a6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 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.23.1
rev: 0.23.2
hooks:
- id: check-github-workflows

Expand All @@ -35,8 +35,8 @@ repos:
hooks:
- id: black

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.270
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.276
hooks:
- id: ruff
args: ["--fix"]
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ dependencies = [
"black[jupyter]==23.3.0",
"mdformat>0.7",
"mdformat-gfm>=0.3.5",
"ruff==0.0.270"
"ruff==0.0.276"
]
detached = true
[tool.hatch.envs.lint.scripts]
Expand Down Expand Up @@ -119,6 +119,8 @@ filterwarnings = [
"ignore:unclosed <socket.socket:ResourceWarning",
# From juypter core
"module:Jupyter is migrating its paths to use standard platformdirs:DeprecationWarning",
# From jupyter_events
"module:jsonschema.RefResolver is deprecated as of:DeprecationWarning",
]

[tool.coverage.run]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class AuthorizerforTesting(Authorizer):
# Set these class attributes from within a test
# to verify that they match the arguments passed
# by the REST API.
permissions: Dict[str, str] = {}
permissions: Dict[str, str] = {} # noqa

def normalize_url(self, path):
"""Drop the base URL and make sure path leads with a /"""
Expand Down

0 comments on commit 142b4a6

Please sign in to comment.