From 7e3b57f4b6388b450be76d5db2e0586c02fd578d Mon Sep 17 00:00:00 2001 From: imcompiling Date: Fri, 21 Mar 2025 10:02:30 -0400 Subject: [PATCH] Update pyproject to point to home directory, add an init and remove pyproject that ignores the warning that the init file fixes. --- dakiny_bot/classes/pyproject.toml | 2 +- dakiny_bot/database/__init__.py | 1 + dakiny_bot/database/pyproject.toml | 7 ------- 3 files changed, 2 insertions(+), 8 deletions(-) create mode 100644 dakiny_bot/database/__init__.py delete mode 100644 dakiny_bot/database/pyproject.toml diff --git a/dakiny_bot/classes/pyproject.toml b/dakiny_bot/classes/pyproject.toml index 357e23b..5962016 100644 --- a/dakiny_bot/classes/pyproject.toml +++ b/dakiny_bot/classes/pyproject.toml @@ -1,6 +1,6 @@ [tool.ruff] # Extend the `pyproject.toml` file in the parent directory... -extend = "../pyproject.toml" +extend = "../../pyproject.toml" # Exclude a variety of commonly ignored directories. exclude = ["gitea_webhook.py"] diff --git a/dakiny_bot/database/__init__.py b/dakiny_bot/database/__init__.py new file mode 100644 index 0000000..960215c --- /dev/null +++ b/dakiny_bot/database/__init__.py @@ -0,0 +1 @@ +"""Module controls connection to Dakiny bot database.""" diff --git a/dakiny_bot/database/pyproject.toml b/dakiny_bot/database/pyproject.toml deleted file mode 100644 index e3c5aa1..0000000 --- a/dakiny_bot/database/pyproject.toml +++ /dev/null @@ -1,7 +0,0 @@ -[tool.ruff] -# Extend the `pyproject.toml` file in the parent directory... -extend = "../pyproject.toml" - -[tool.ruff.lint] -# ignore implicit-namespace-package in this directory. -ignore = ["INP001"]