From fd4cb1821c5c97ff8769202b74ca187147ca50a8 Mon Sep 17 00:00:00 2001 From: Nikita Babaev Date: Thu, 5 Dec 2024 01:40:43 +0400 Subject: [PATCH] Small fixes for back cause merge back and front --- .github/workflows/ruff-linter.yml | 2 +- backend/auth/views.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ruff-linter.yml b/.github/workflows/ruff-linter.yml index ed281cb..fdf4b3b 100644 --- a/.github/workflows/ruff-linter.yml +++ b/.github/workflows/ruff-linter.yml @@ -34,4 +34,4 @@ jobs: - name: Run Ruff linter run: | - poetry run ruff check . # Запускаем линтер на текущей директории + poetry run ruff check .\backend\ # Запускаем линтер на текущей директории diff --git a/backend/auth/views.py b/backend/auth/views.py index bbae255..9e68d44 100644 --- a/backend/auth/views.py +++ b/backend/auth/views.py @@ -14,7 +14,10 @@ from backend.auth.config import cookie_config from backend.auth.constants import API_RESPONSES -from backend.auth.dependencies import validate_refresh_token, validate_user_creation +from backend.auth.dependencies import ( + validate_refresh_token, + validate_user_creation, +) from backend.auth.schemas import ( JWTResponse, UserAuthentication,