Skip to content

Commit 9051921

Browse files
committed
black format
1 parent 9d1c1e9 commit 9051921

62 files changed

Lines changed: 62 additions & 3 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- uses: isort/isort-action@master
7171
with:
7272
requirementsFiles: "requirements.txt requirements.dev.txt"
73-
- uses: psf/black@stable
73+
- uses: psf/black@23.11.0
7474
- name: Comment if linting failed
7575
if: failure()
7676
uses: thollander/actions-comment-pull-request@v2

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ run:
44
source ./venv/bin/activate && uvicorn --reload --log-config logging_dev.conf auth_backend.routes.base:app
55

66
configure: venv
7-
source ./venv/bin/activate && pip install -r requirements.dev.txt -r requirements.txt
7+
source ./venv/bin/activate && pip install --force-reinstall -r requirements.dev.txt -r requirements.txt
88

99
venv:
1010
python3.11 -m venv venv

auth_backend/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
import os
22

3+
34
__version__ = os.getenv('APP_VERSION', 'dev')

auth_backend/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from auth_backend.cli.process import process
22

3+
34
if __name__ == '__main__':
45
process()

auth_backend/auth_method/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from .session import Session
66
from .userdata_mixin import UserdataMixin
77

8+
89
__all__ = [
910
"Session",
1011
"AUTH_METHODS",

auth_backend/auth_method/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
from auth_backend.models.db import AuthMethod, User, UserSession
1313
from auth_backend.settings import get_settings
1414

15+
1516
logger = logging.getLogger(__name__)
1617
settings = get_settings()
1718

auth_backend/auth_method/oauth.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
from .method_mixins import LoginableMixin, RegistrableMixin
1616
from .userdata_mixin import UserdataMixin
1717

18+
1819
logger = logging.getLogger(__name__)
1920

2021

auth_backend/auth_method/outer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
from auth_backend.models.db import AuthMethod, UserSession
1313
from auth_backend.utils.security import UnionAuth
1414

15+
1516
logger = logging.getLogger(__name__)
1617

1718

auth_backend/auth_plugins/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from .vk import VkAuth
1717
from .yandex import YandexAuth
1818

19+
1920
__all__ = [
2021
"AUTH_METHODS",
2122
"AuthPluginMeta",

auth_backend/auth_plugins/airflow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from auth_backend.auth_method.outer import ConnectionIssue, OuterAuthMeta
77
from auth_backend.settings import Settings
88

9+
910
logger = logging.getLogger(__name__)
1011

1112

0 commit comments

Comments
 (0)