Skip to content

Commit

Permalink
Merge branch 'hotfix/join-on-invite' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
bolinocroustibat committed May 16, 2024
2 parents 5034429 + d605ed8 commit 93d7b7d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/matrix_bot/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class BotLibConfig(BaseSettings):
model_config = SettingsConfigDict(env_file=Path(".matrix_bot_env"))


bot_lib_config = BotLibConfig(join_on_invite=True)
bot_lib_config = BotLibConfig(join_on_invite=False)
structlog.configure(
wrapper_class=structlog.make_filtering_bound_logger(bot_lib_config.log_level),
)
Expand Down
15 changes: 8 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@ dependencies = [
"structlog==24.1.0",
]

[tool]
rye = { dev-dependencies = ["ruff==0.4.3"] }
[tool.pdm]
distribution = false
dev-dependencies = { dev = ["ruff==0.4.4"] }

[tool.setuptools]
py-modules = []
[tool.rye]
dev-dependencies = ["ruff==0.4.4"]

[tool.ruff]
line-length = 100
lint = { ignore-init-module-imports = true, select = ["I"] }

[tool.ruff.lint]
ignore-init-module-imports = true
select = ["I"] # sort imports
[tool.setuptools]
py-modules = []

0 comments on commit 93d7b7d

Please sign in to comment.