mirror of
https://github.com/Paillat-dev/dismoji.git
synced 2026-01-02 17:14:55 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a1d2592ee1 | |||
| 6dc46f06d6 | |||
| 8af0deea07 |
@@ -120,6 +120,7 @@ exclude = [
|
|||||||
"src/dismoji/_version.py"
|
"src/dismoji/_version.py"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
[tool.ruff.lint]
|
[tool.ruff.lint]
|
||||||
select = ["ALL"]
|
select = ["ALL"]
|
||||||
per-file-ignores = { "examples/**/*" = ["INP001", "ARG002", "T201"], "tests/**/*" = ["S101"], "src/dismoji/_version.py" = ["I001", "Q000", "UP005", "UP006", "UP035"] }
|
per-file-ignores = { "examples/**/*" = ["INP001", "ARG002", "T201"], "tests/**/*" = ["S101"], "src/dismoji/_version.py" = ["I001", "Q000", "UP005", "UP006", "UP035"] }
|
||||||
@@ -151,6 +152,7 @@ extend-ignore = [
|
|||||||
"C901",
|
"C901",
|
||||||
"ISC003" # conflicts with basedpyright reportImplicitStringConcatenation
|
"ISC003" # conflicts with basedpyright reportImplicitStringConcatenation
|
||||||
]
|
]
|
||||||
|
pydocstyle.convention = "google"
|
||||||
|
|
||||||
[tool.uv.sources]
|
[tool.uv.sources]
|
||||||
py-cord = { git = "https://github.com/Pycord-Development/pycord", rev = "c0c0b7c58f7b489983a159f5e0eea2c0dab0b0c8" }
|
py-cord = { git = "https://github.com/Pycord-Development/pycord", rev = "c0c0b7c58f7b489983a159f5e0eea2c0dab0b0c8" }
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ with EMOJIS_PATH.open("r", encoding="utf-8") as f:
|
|||||||
|
|
||||||
EMOJI_MAPPING: dict[str, str] = {k: EMOJIS["emojis"][v]["surrogates"] for k, v in EMOJIS["nameToEmoji"].items()}
|
EMOJI_MAPPING: dict[str, str] = {k: EMOJIS["emojis"][v]["surrogates"] for k, v in EMOJIS["nameToEmoji"].items()}
|
||||||
|
|
||||||
|
del EMOJIS # Clean up to save memory
|
||||||
|
|
||||||
EMOJI_PATTERN = re.compile(r":([a-zA-Z0-9_-]+):")
|
EMOJI_PATTERN = re.compile(r":([a-zA-Z0-9_-]+):")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Submodule src/dismoji/raw updated: f4c3abf844...079afc968f
Reference in New Issue
Block a user