Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sultaniman committed Dec 18, 2023
1 parent a1d35f7 commit cc45062
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion migrations/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
fileConfig(config.config_file_name)

# Set database URI from settings
config.set_main_option("sqlalchemy.url", db_settings.db_uri)
config.set_main_option("sqlalchemy.url", str(db_settings.db_uri))

# other values from the config, defined by the needs of env.py,
# can be acquired:
Expand Down
2 changes: 1 addition & 1 deletion observer/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class Settings(SettingsBase):
# Values below are optional exception
# is for storage backend type.
# Other settings must be checked manually.
storage_kind: str = StorageKind.fs
storage_kind: StorageKind = StorageKind.fs
storage_root: str = str(here / "uploads")
# Maximum upload file size is 5Mb
max_upload_size: int = 1024 * 1024 * 5
Expand Down

0 comments on commit cc45062

Please sign in to comment.