From 1c1951f2ff65b91bbf96e7d0f37159c0c4937b5c Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Sat, 21 Oct 2023 21:41:38 +0100 Subject: Update ruff config to enable unsafe and preview rules --- pydis_core/utils/paste_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pydis_core') diff --git a/pydis_core/utils/paste_service.py b/pydis_core/utils/paste_service.py index f3d1aed8..67f6a731 100644 --- a/pydis_core/utils/paste_service.py +++ b/pydis_core/utils/paste_service.py @@ -13,7 +13,7 @@ MAX_PASTE_SIZE = 512 * 1024 # 512kB """The maximum allows size of a paste, in bytes.""" # A dict where the keys are paste services and the keys are the lists of lexers that paste service supports. -_lexers_supported_by_pastebin: dict[str,list[str]] = {} +_lexers_supported_by_pastebin: dict[str, list[str]] = {} class PasteResponse(BaseModel): -- cgit v1.2.3