Skip to content

Commit 7b117b1

Browse files
committed
feat: add .editorconfig for consistent coding style across different editors
feat: add dependabot.yml for weekly updates of GitHub Actions chore: update Python version from 3.11 to 3.12 in .mise.toml and pyproject.toml chore: update various dependencies in pyproject.toml to their latest versions feat: add dependency-review.yml for automated dependency review on pull requests and weekly schedule feat: add docker-compose.yml for setting up bot and postgres services in Docker environment
1 parent 6fdf556 commit 7b117b1

File tree

7 files changed

+128
-103
lines changed

7 files changed

+128
-103
lines changed

.editorconfig

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = false
10+
11+
[*.{py, pyi}]
12+
indent_style = space
13+
indent_size = 4
14+
15+
[*.md]
16+
trim_trailing_whitespace = false
17+
18+
[Makefile]
19+
indent_style = tab

.github/dependabot.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
# Check for updates to GitHub Actions every week
7+
interval: "weekly"

.mise.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[tools]
2-
python = "3.11"
2+
python = "3.12"

poetry.lock

+92-93
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+9-9
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ version = "0.1.0"
99

1010
[tool.poetry.dependencies]
1111
aioconsole = "^0.7.0"
12-
aiopath = "0.6.11"
12+
aiopath = "^0.7.7"
13+
python = ">=3.12,<4"
1314
asynctempfile = "^0.5.0"
1415
dateparser = "^1.2.0"
1516
discord-py = "^2.3.2"
1617
loguru = "^0.7.2"
1718
mypy = "^1.9.0"
18-
pre-commit = "^3.6.0"
19+
pre-commit = "^3.7.0"
1920
prisma = "^0.13.1"
2021
psutil = "^5.9.8"
2122
pynacl = "^1.5.0"
22-
pyright = "^1.1.343"
23-
python = "^3.11"
24-
python-dotenv = ">=1.0.0"
25-
ruff = "^0.3.4"
26-
sentry-sdk = {extras = ["loguru"], version = "^1.44.1"}
23+
pyright = "^1.1.358"
24+
python-dotenv = "^1.0.1"
25+
ruff = "^0.3.6"
26+
sentry-sdk = "^1.45.0"
2727
vulture = "^2.11"
2828

2929
[tool.poetry.scripts]
@@ -69,7 +69,7 @@ exclude = [
6969

7070
indent-width = 4
7171
line-length = 100
72-
target-version = "py311"
72+
target-version = "py312"
7373

7474
# Ruff Linting Configuration
7575
[tool.ruff.lint]
@@ -141,7 +141,7 @@ exclude = [
141141
]
142142
include = ["tux"]
143143
pythonPlatform = "Linux"
144-
pythonVersion = "3.11"
144+
pythonVersion = "3.12"
145145
typeCheckingMode = "strict"
146146
venv = ".venv"
147147
venvPath = "."
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)