Compare commits

...
10 Commits
Author SHA1 Message Date
renovate-bot 1df639499c Update ghcr.io/astral-sh/uv Docker tag to v0.6.12
build_latest / build (push) Successful in 38s
2025-04-06 04:01:44 +00:00
renovate-bot be3ec007af Update dependency pytz to <2025.3,>=2025.2
build_latest / build (push) Successful in 33s
2025-03-30 04:02:06 +00:00
renovate-bot e8839d2930 Update ghcr.io/astral-sh/uv Docker tag to v0.6.10
build_latest / build (push) Waiting to run
2025-03-30 04:01:39 +00:00
imcompiling 29eb21b286 Merge pull request 'Update dependency pytz to v2025' (#89) from renovate/pytz-2025.x into main
build_latest / build (push) Successful in 29s
Reviewed-on: #89
Reviewed-by: imcompiling <[email protected]>
2025-03-23 23:39:51 -04:00
renovate-bot b7439631d9 Update dependency pytz to v2025 2025-03-23 04:01:44 +00:00
renovate-bot 6b9d8f6ad9 Update ghcr.io/astral-sh/uv Docker tag to v0.6.9
build_latest / build (push) Successful in 38s
2025-03-23 04:01:14 +00:00
imcompiling c48fba9c85 Update the create database script to account for directory structure change.
build_latest / build (push) Successful in 36s
2025-03-21 10:03:11 -04:00
imcompiling 7e3b57f4b6 Update pyproject to point to home directory, add an init and remove pyproject that ignores the warning that the init file fixes. 2025-03-21 10:02:30 -04:00
imcompiling 889ba2fd6b Correct cog listing.
build_latest / build (push) Successful in 32s
2025-03-19 17:47:58 -04:00
imcompiling 8b5c954aa5 Remove poetry lock.
build_latest / build (push) Successful in 34s
2025-03-19 11:20:00 -04:00
9 changed files with 12 additions and 1300 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ FROM python:3.13.2-slim
RUN apt-get update && apt-get -y upgrade && apt-get -y install git sqlite3
# install uv
COPY --from=ghcr.io/astral-sh/uv:0.6.5 /uv /uvx /bin/
COPY --from=ghcr.io/astral-sh/uv:0.6.12 /uv /uvx /bin/
COPY . /home
+2 -2
View File
@@ -38,8 +38,8 @@ def run() -> None:
bot = commands.Bot(intents=intents)
# Get the modules of all cogs whose directory structure is ./cogs/<module_name>
for folder in os.listdir("cogs"):
bot.load_extension(f"cogs.{folder}")
for folder in os.listdir("dakiny_bot/cogs"):
bot.load_extension(f"dakiny_bot.cogs.{folder}")
@bot.listen()
async def on_ready() -> None:
+1 -1
View File
@@ -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"]
+1
View File
@@ -0,0 +1 @@
"""Module controls connection to Dakiny bot database."""
+1 -1
View File
@@ -7,7 +7,7 @@ if not Path("database/dakiny.db").exists():
with sqlite3.connect("database/dakiny.db") as con:
cur = con.cursor()
with Path("database_setup/database.sql", encoding="utf-8").open() as file:
with Path("dakiny_bot/database/database.sql").open() as file:
database_script = file.read()
cur.executescript(database_script)
con.commit()
-7
View File
@@ -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"]
Generated
-1283
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -6,7 +6,7 @@ dependencies = [
"fastapi<1.0.0,>=0.111.0",
"nextcord<3.0.0,>=2.6.0",
"pandas<3.0.0,>=2.2.2",
"pytz<2025.0,>=2024.1",
"pytz<2025.3,>=2025.2",
"sqlalchemy<3.0.0,>=2.0.30",
"aiofiles<24.0.0,>=23.2.1",
"setuptools<71.0.0,>=70.0.0",
Generated
+5 -4
View File
@@ -1,4 +1,5 @@
version = 1
revision = 1
requires-python = ">=3.12, <4.0"
[[package]]
@@ -161,7 +162,7 @@ requires-dist = [
{ name = "gitpython", specifier = ">=3.1.43,<4.0.0" },
{ name = "nextcord", specifier = ">=2.6.0,<3.0.0" },
{ name = "pandas", specifier = ">=2.2.2,<3.0.0" },
{ name = "pytz", specifier = ">=2024.1,<2025.0" },
{ name = "pytz", specifier = ">=2025.2,<2025.3" },
{ name = "setuptools", specifier = ">=70.0.0,<71.0.0" },
{ name = "sqlalchemy", specifier = ">=2.0.30,<3.0.0" },
{ name = "uvicorn", specifier = ">=0.34.0" },
@@ -544,11 +545,11 @@ wheels = [
[[package]]
name = "pytz"
version = "2024.2"
version = "2025.2"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/3a/31/3c70bf7603cc2dca0f19bdc53b4537a797747a58875b552c8c413d963a3f/pytz-2024.2.tar.gz", hash = "sha256:2aa355083c50a0f93fa581709deac0c9ad65cca8a9e9beac660adcbd493c798a", size = 319692 }
sdist = { url = "https://files.pythonhosted.org/packages/f8/bf/abbd3cdfb8fbc7fb3d4d38d320f2441b1e7cbe29be4f23797b4a2b5d8aac/pytz-2025.2.tar.gz", hash = "sha256:360b9e3dbb49a209c21ad61809c7fb453643e048b38924c765813546746e81c3", size = 320884 }
wheels = [
{ url = "https://files.pythonhosted.org/packages/11/c3/005fcca25ce078d2cc29fd559379817424e94885510568bc1bc53d7d5846/pytz-2024.2-py2.py3-none-any.whl", hash = "sha256:31c7c1817eb7fae7ca4b8c7ee50c72f93aa2dd863de768e1ef4245d426aa0725", size = 508002 },
{ url = "https://files.pythonhosted.org/packages/81/c4/34e93fe5f5429d7570ec1fa436f1986fb1f00c3e0f43a589fe2bbcd22c3f/pytz-2025.2-py2.py3-none-any.whl", hash = "sha256:5ddf76296dd8c44c26eb8f4b6f35488f3ccbf6fbbd7adee0b7262d43f0ec2f00", size = 509225 },
]
[[package]]