feat: add Commands enum, delete useless commands, revamp the Settings class and the MarkovChain.message_handler method
This commit is contained in:
parent
29e1242591
commit
3a33411dd9
18 changed files with 1111 additions and 1190 deletions
|
|
@ -13,11 +13,44 @@ dependencies = [
|
|||
"nltk>=3.9.1",
|
||||
"pillow>=10.4.0",
|
||||
"platformdirs>=4.3.6",
|
||||
"pydantic>=2.9.2",
|
||||
"pydantic-settings>=2.6.0",
|
||||
"pyinstaller>=6.11.0",
|
||||
"twitchwebsocket>=1.2.1",
|
||||
"loguru>=0.7.2",
|
||||
]
|
||||
|
||||
[tool.uv]
|
||||
dev-dependencies = [
|
||||
"mypy>=1.13.0",
|
||||
"pyright>=1.1.387",
|
||||
"ruff>=0.7.0",
|
||||
]
|
||||
]
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
module = [
|
||||
"kivy",
|
||||
"kivy.uix.widget",
|
||||
"kivy.uix.popup",
|
||||
"kivy.uix.button",
|
||||
"kivy.uix.boxlayout",
|
||||
"kivy.uix.textinput",
|
||||
"kivy.uix.label",
|
||||
"kivy.metrics",
|
||||
"kivy.app",
|
||||
"kivy.clock",
|
||||
"nltk",
|
||||
"nltk.tokenize",
|
||||
"nltk.tokenize.treebank",
|
||||
"nltk.tokenize.destructive",
|
||||
"TwitchWebsocket",
|
||||
"tokenizer"
|
||||
]
|
||||
ignore_missing_imports = true
|
||||
|
||||
[tool.ruff.lint]
|
||||
extend-select = [
|
||||
"W", "C90", "I", "N", "UP", "S", "BLE", "B", "A", "COM", "C4", "DTZ", "T10", "EM", "ISC", "T20", "PT", "RSE", "RET",
|
||||
"SIM", "PTH", "ERA", "PGH", "PL", "RUF", "FURB", "PERF"
|
||||
]
|
||||
extend-ignore = ["S101", "ISC002", "COM812", "ISC001"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue