Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 13, 2023
1 parent 457a202 commit 0e6d887
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jupyter_scheduler/handlers.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import json
import re

from jupyter_scheduler.pydantic_v1 import ValidationError
from jupyter_server.base.handlers import APIHandler
from jupyter_server.extension.handler import ExtensionHandlerMixin
from jupyter_server.utils import ensure_async
Expand All @@ -28,6 +27,7 @@
UpdateJob,
UpdateJobDefinition,
)
from jupyter_scheduler.pydantic_v1 import ValidationError


class JobHandlersMixin:
Expand Down
2 changes: 1 addition & 1 deletion jupyter_scheduler/task_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
from typing import List, Optional

import traitlets
from jupyter_scheduler.pydantic_v1 import BaseModel
from jupyter_server.transutils import _i18n
from sqlalchemy import Boolean, Column, Integer, String, create_engine
from sqlalchemy.orm import sessionmaker
from traitlets.config import LoggingConfigurable

from jupyter_scheduler.models import CreateJob, UpdateJobDefinition
from jupyter_scheduler.orm import JobDefinition, declarative_base
from jupyter_scheduler.pydantic_v1 import BaseModel
from jupyter_scheduler.utils import (
compute_next_run_time,
get_localized_timestamp,
Expand Down
2 changes: 1 addition & 1 deletion jupyter_scheduler/tests/test_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
SchedulerError,
)
from jupyter_scheduler.handlers import compute_sort_model
from jupyter_scheduler.pydantic_v1 import ValidationError
from jupyter_scheduler.models import (
CountJobsQuery,
DescribeJob,
Expand All @@ -21,6 +20,7 @@
Status,
UpdateJob,
)
from jupyter_scheduler.pydantic_v1 import ValidationError
from jupyter_scheduler.tests.utils import expected_http_error


Expand Down

0 comments on commit 0e6d887

Please sign in to comment.