diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a1a3e00..6bcf4e2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,6 +5,7 @@ name: Python package on: push: + branches: ["main"] pull_request: schedule: - cron: "0 8 * * *" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1d2cc4c..c4e7f89 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.23.1 + rev: 0.23.2 hooks: - id: check-github-workflows @@ -34,8 +34,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"] diff --git a/jupyter_core/paths.py b/jupyter_core/paths.py index a7bf051..29e1901 100644 --- a/jupyter_core/paths.py +++ b/jupyter_core/paths.py @@ -603,7 +603,7 @@ def _win32_restrict_file_to_user_ctypes(fname: str) -> None: # noqa ) class ACL(ctypes.Structure): - _fields_ = [ + _fields_ = [ # noqa ("AclRevision", wintypes.BYTE), ("Sbz1", wintypes.BYTE), ("AclSize", wintypes.WORD), diff --git a/pyproject.toml b/pyproject.toml index 09b4176..9105744 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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.270"] +dependencies = ["black==23.3.0", "mdformat>0.7", "ruff==0.0.276"] detached = true [tool.hatch.envs.lint.scripts] style = [