-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ruff instead of black, flake8, isort
Also, reorder sections in pyproject.toml. Signed-off-by: Nils Philippsen <[email protected]>
- Loading branch information
Showing
18 changed files
with
95 additions
and
232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""This is the session controller.""" | ||
|
||
import datetime as dt | ||
import logging | ||
from typing import Optional | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from .formatter import DuffyFormatter # noqa: F401 | ||
from .main import DuffyClient # noqa: F401 | ||
from .formatter import DuffyFormatter | ||
from .main import DuffyClient |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from .main import config, config_get, read_configuration # noqa: F401 | ||
from .main import config, config_get, read_configuration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
Revises: | ||
Create Date: 2022-05-09 16:40:06.491392 | ||
""" | ||
|
||
import sqlalchemy as sa | ||
from alembic import op | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from .node import Node, SessionNode # noqa: F401 | ||
from .session import Session # noqa: F401 | ||
from .tenant import Tenant # noqa: F401 | ||
from .node import Node, SessionNode | ||
from .session import Session | ||
from .tenant import Tenant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from . import ansible, main # noqa: F401 | ||
from .main import Mechanism, MechanismFailure # noqa: F401 | ||
from . import ansible, main | ||
from .main import Mechanism, MechanismFailure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
from .base import celery, init_tasks # noqa: F401 | ||
from .deprovision import deprovision_nodes, deprovision_pool_nodes # noqa: F401 | ||
from .expire import expire_sessions # noqa: F401 | ||
from .main import start_worker # noqa: F401 | ||
from .provision import fill_pools, fill_single_pool # noqa: F401 | ||
from .base import celery, init_tasks | ||
from .deprovision import deprovision_nodes, deprovision_pool_nodes | ||
from .expire import expire_sessions | ||
from .main import start_worker | ||
from .provision import fill_pools, fill_single_pool |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.