diff options
author | 2023-04-27 22:26:24 +0100 | |
---|---|---|
committer | 2023-04-27 22:26:24 +0100 | |
commit | d6a95edbc1b4cdb0e9dad5902c5b270c962453e8 (patch) | |
tree | 86ead71bb3b5d57f886b77a45455d43bfa2cd5ec /arthur/config.py | |
parent | Replace Flake8 and various linting plugins with ruff (diff) |
Fix linting errors from new ruff rules
Diffstat (limited to 'arthur/config.py')
-rw-r--r-- | arthur/config.py | 3 |
1 files changed, 1 insertions, 2 deletions
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" |