From d6a95edbc1b4cdb0e9dad5902c5b270c962453e8 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Thu, 27 Apr 2023 22:26:24 +0100 Subject: Fix linting errors from new ruff rules --- arthur/config.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'arthur/config.py') diff --git a/arthur/config.py b/arthur/config.py index d754696..13ad241 100644 --- a/arthur/config.py +++ b/arthur/config.py @@ -1,5 +1,4 @@ """Utilities for interacting with the config for King Arthur.""" -from typing import Optional from pydantic import BaseSettings @@ -23,7 +22,7 @@ class Config(BaseSettings): guild_id: int = 267624335836053506 # Token for authorising with the Notion API - notion_api_token: Optional[str] = None + notion_api_token: str | None = None class Config: # noqa: D106 env_file = ".env" -- cgit v1.2.3