Compare commits

...
17 Commits
Author SHA1 Message Date
renovate-bot 89e77a6671 Update dependency ruff to ^0.11.0
build_latest / build (push) Successful in 1m14s
2025-03-16 04:02:09 +00:00
renovate-bot c2ff656114 Update dependency sqlalchemy to v2.0.39
build_latest / build (push) Waiting to run
2025-03-16 04:02:02 +00:00
renovate-bot 81e2957fa5 Update dependency ruff to v0.9.10
build_latest / build (push) Successful in 19s
2025-03-09 05:01:41 +00:00
renovate-bot ba24a268ec Update dependency ruff to v0.9.9
build_latest / build (push) Successful in 20s
2025-03-02 05:02:12 +00:00
renovate-bot 70d262d947 Update dependency fastapi to v0.115.11
build_latest / build (push) Waiting to run
2025-03-02 05:02:04 +00:00
imcompiling 6199350cca Merge pull request 'Update actions/checkout action to v4' (#85) from renovate/actions-checkout-4.x into main
build_latest / build (push) Successful in 1m32s
Reviewed-on: #85
Reviewed-by: imcompiling <[email protected]>
2025-02-25 09:27:43 -05:00
renovate-bot c5e2b39648 Update actions/checkout action to v4 2025-02-23 05:01:30 +00:00
renovate-bot 5db2b43d6a Update python Docker tag to v3.13.2
build_latest / build (push) Successful in 1m33s
2025-02-23 05:01:24 +00:00
renovate-bot b9be9e5470 Update dependency ruff to ^0.9.0
build_latest / build (push) Successful in 1m13s
2025-02-22 13:06:23 +00:00
renovate-bot 6700199a36 Update dependency fastapi to ^0.115.0
build_latest / build (push) Waiting to run
2025-02-22 13:06:16 +00:00
renovate-bot 8f9821e9c9 Update dependency dataclass-wizard to ^0.35.0
build_latest / build (push) Successful in 1m20s
2025-02-16 05:01:51 +00:00
renovate-bot 83af20e04c Update dependency sqlalchemy to v2.0.38
build_latest / build (push) Waiting to run
2025-02-16 05:01:43 +00:00
imcompiling d56251c0b9 Do not ping a user on their cakeday.
build_release / build (push) Successful in 17s
build_latest / build (push) Successful in 1m45s
2025-02-04 22:49:53 -05:00
imcompiling 667a600ec6 Add poetry lock file. 2025-02-04 22:46:51 -05:00
imcompiling 03a94ca6dd Turn on lockFileMaintenance for renovatebot. 2025-02-04 22:45:14 -05:00
imcompiling 9da598e4d9 Add renovatebot json config.
build_latest / build (push) Successful in 2m3s
2025-02-04 17:35:11 -05:00
imcompiling 3a280696ca Need to install specific poetry version, export gets removed in v2.
build_latest / build (push) Successful in 1m41s
build_release / build (push) Successful in 19s
2025-01-19 18:35:38 -05:00
10 changed files with 1320 additions and 10 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Install Docker - name: Install Docker
+1 -1
View File
@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Install Docker - name: Install Docker
+1 -1
View File
@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Install Docker - name: Install Docker
-1
View File
@@ -105,7 +105,6 @@ venv/
ENV/ ENV/
env.bak/ env.bak/
venv.bak/ venv.bak/
poetry.lock
# Spyder project settings # Spyder project settings
.spyderproject .spyderproject
+2
View File
@@ -3,6 +3,8 @@
"aiofiles", "aiofiles",
"autofilled", "autofilled",
"blurple", "blurple",
"CAKEDAY",
"cakedays",
"CLANLEADER", "CLANLEADER",
"Dakiny", "Dakiny",
"DISCORDMANAGER", "DISCORDMANAGER",
+2 -2
View File
@@ -1,4 +1,4 @@
FROM python:3.12.3-slim FROM python:3.13.2-slim
# install dependencies # install dependencies
RUN apt-get update && apt-get -y upgrade && apt-get -y install git sqlite3 RUN apt-get update && apt-get -y upgrade && apt-get -y install git sqlite3
@@ -14,6 +14,6 @@ COPY classes classes/
COPY cogs cogs/ COPY cogs cogs/
COPY database_setup database_setup/ COPY database_setup database_setup/
RUN pip install --upgrade pip && pip install poetry && poetry export -f requirements.txt --output requirements.txt && pip install -r requirements.txt RUN pip install --upgrade pip && pip install poetry==1.8.3 && poetry export -f requirements.txt --output requirements.txt && pip install -r requirements.txt
CMD ["python3", "-u", "./main.py"] CMD ["python3", "-u", "./main.py"]
+7 -1
View File
@@ -20,6 +20,8 @@ if TYPE_CHECKING:
KANDY = 239547993106284544 KANDY = 239547993106284544
IGNORE_CAKEDAY = [266378407682506754]
class DailyLoop(commands.Cog, name="Daily Loop"): class DailyLoop(commands.Cog, name="Daily Loop"):
"""Class for performing daily functions.""" """Class for performing daily functions."""
@@ -112,7 +114,11 @@ class DailyLoop(commands.Cog, name="Daily Loop"):
announce_channel: nextcord.TextChannel = guild.get_channel(settings.channel_ids.general) announce_channel: nextcord.TextChannel = guild.get_channel(settings.channel_ids.general)
cakedays: list[nextcord.Member] = [ cakedays: list[nextcord.Member] = [
human for human in guild.humans if human.joined_at.month == today.month and human.joined_at.day == today.day human
for human in guild.humans
if human.joined_at.month == today.month
and human.joined_at.day == today.day
and human.id not in IGNORE_CAKEDAY
] ]
for member in cakedays: for member in cakedays:
Generated
+1283
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -9,18 +9,18 @@ package-mode = false
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.12" python = "^3.12"
gitpython = "^3.1.43" gitpython = "^3.1.43"
fastapi = "^0.111.0" fastapi = "^0.115.0"
nextcord = "^2.6.0" nextcord = "^2.6.0"
pandas = "^2.2.2" pandas = "^2.2.2"
pytz = "^2024.1" pytz = "^2024.1"
sqlalchemy = "^2.0.30" sqlalchemy = "^2.0.30"
aiofiles = "^23.2.1" aiofiles = "^23.2.1"
setuptools = "^70.0.0" setuptools = "^70.0.0"
dataclass-wizard = "^0.22.3" dataclass-wizard = "^0.35.0"
[tool.poetry.group.dev.dependencies] [tool.poetry.group.dev.dependencies]
ruff = "^0.6.9" ruff = "^0.11.0"
[build-system] [build-system]
requires = ["poetry-core"] requires = ["poetry-core"]
+20
View File
@@ -0,0 +1,20 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"lockFileMaintenance": {
"automerge": true,
"enabled": true
},
"minor": {
"automerge": true,
"automergeType": "branch"
},
"patch": {
"automerge": true,
"automergeType": "branch"
},
"pin": {
"automerge": true,
"automergeType": "branch"
},
"ignoreTests": true
}