Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #7

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
exclude: _vendor|vendored
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.3
rev: v0.8.1
hooks:
- id: ruff-format
types_or: [ python, pyi, jupyter ]
- id: ruff
types_or: [ python, pyi, jupyter ]

- repo: https://github.com/seddonym/import-linter
rev: v2.0
rev: v2.1
hooks:
- id: import-linter
stages: [manual]
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.28.3
rev: 0.30.0
hooks:
- id: check-github-workflows
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
# .py files are skipped cause already checked by other hooks
hooks:
- id: check-yaml
Expand Down
7 changes: 4 additions & 3 deletions notebooks/update_commits.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
import os
from pathlib import Path

from sqlalchemy import create_engine
from sqlalchemy.orm import Session
from tqdm import tqdm

from napari_dashboard.db_schema.github import PullRequestCommits
from napari_dashboard.db_update.github import (
ensure_user,
Expand All @@ -11,9 +15,6 @@
)
from napari_dashboard.db_update.util import setup_cache
from napari_dashboard.get_webpage.gdrive import fetch_database
from sqlalchemy import create_engine
from sqlalchemy.orm import Session
from tqdm import tqdm

db_path = Path(__file__).parent.parent / "dashboard.db"

Expand Down