Special characters handling
* Fix README for python version * Add discord-friendly unidecode function for channel names (avoiding special characted) * Check if "items" is present before accessing in channel id request response
This commit is contained in:
parent
8d76596ebf
commit
d015927861
10 changed files with 315 additions and 13 deletions
|
|
@ -1,8 +1,7 @@
|
|||
[project]
|
||||
name = "bot-discord"
|
||||
version = "0.0.1"
|
||||
version = "0.1.0"
|
||||
requires-python = ">=3.10"
|
||||
# dependencies = []
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = ["pytest"]
|
||||
|
|
@ -41,6 +40,7 @@ ignore = ["E275", "FURB140", "I001", "PERF203", "RET502", "RET503", "SIM105"]
|
|||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
"tests/*" = ["SLF001", "PLR2004"]
|
||||
"breadtube_bot/unidecode_data.py" = ["E501"]
|
||||
|
||||
[tool.ruff.lint.flake8-quotes]
|
||||
inline-quotes = "single"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue