Skip to content

Commit

Permalink
🚨(project) fix ruff new warnings on passwords
Browse files Browse the repository at this point in the history
We are using hardcoded default password for ease of use, but Ruff now outputs a
warning. Escaping the rule for these lines.
  • Loading branch information
wilbrdt committed Jan 6, 2025
1 parent 31fd66b commit 6a44178
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/mork/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Settings(BaseSettings):
DB_HOST: str = "postgresql"
DB_NAME: str = "mork-db"
DB_USER: str = "fun"
DB_PASSWORD: str = "pass"
DB_PASSWORD: str = "pass" # noqa: S105
DB_PORT: int = 5432
DB_DEBUG: bool = False
TEST_DB_NAME: str = "test-mork-db"
Expand All @@ -62,7 +62,7 @@ class Settings(BaseSettings):
EDX_MYSQL_DB_HOST: str = "mysql"
EDX_MYSQL_DB_NAME: str = "edxapp"
EDX_MYSQL_DB_USER: str = "edxapp"
EDX_MYSQL_DB_PASSWORD: str = "password"
EDX_MYSQL_DB_PASSWORD: str = "password" # noqa: S105
EDX_MYSQL_DB_PORT: int = 3306
EDX_MYSQL_DB_DEBUG: bool = False
EDX_MYSQL_QUERY_BATCH_SIZE: int = 1000
Expand All @@ -72,7 +72,7 @@ class Settings(BaseSettings):
EDX_MONGO_DB_HOST: str = "mongo"
EDX_MONGO_DB_NAME: str = "cs_comments_service"
EDX_MONGO_DB_USER: str = "cs_comments_service"
EDX_MONGO_DB_PASSWORD: str = "password"
EDX_MONGO_DB_PASSWORD: str = "password" # noqa: S105
EDX_MONGO_DB_PORT: int = 27017
EDX_MONGO_DB_DEBUG: bool = False

Expand Down

0 comments on commit 6a44178

Please sign in to comment.