Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#358)
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 Aug 1, 2023
1 parent f391c85 commit a07b73a
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.23.2
rev: 0.23.3
hooks:
- id: check-github-workflows

Expand All @@ -30,12 +30,12 @@ repos:
- id: mdformat

- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.7.0
hooks:
- id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.276
rev: v0.0.281
hooks:
- id: ruff
args: ["--fix"]
Expand Down
4 changes: 2 additions & 2 deletions jupyter_core/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ def jupyter_path(*subdirs: str) -> List[str]:
SYSTEM_CONFIG_PATH = platformdirs.site_config_dir(
APPNAME, appauthor=False, multipath=True
).split(os.pathsep)
else:
if os.name == "nt": # noqa
else: # noqa: PLR5501
if os.name == "nt":
programdata = os.environ.get("PROGRAMDATA", None)
if programdata: # noqa
SYSTEM_CONFIG_PATH = [os.path.join(programdata, "jupyter")]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ dependencies = ["mypy>=0.990"]
test = "mypy --install-types --non-interactive {args:.}"

[tool.hatch.envs.lint]
dependencies = ["black==23.3.0", "mdformat>0.7", "ruff==0.0.276"]
dependencies = ["black==23.3.0", "mdformat>0.7", "ruff==0.0.281"]
detached = true
[tool.hatch.envs.lint.scripts]
style = [
Expand Down

0 comments on commit a07b73a

Please sign in to comment.