Skip to content

Commit

Permalink
build: switch to python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
sn1f3rt committed Oct 18, 2024
1 parent c1a0962 commit 51c6c40
Show file tree
Hide file tree
Showing 3 changed files with 930 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.13
3.12.7
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,27 @@ authors = [
{ name="Sayan Bhattacharyya", email="sayan@sn1f3rt.dev" },
]
readme = "README.md"
requires-python = ">=3.13"
requires-python = ">=3.8"
dependencies = [
"click>=8.1.7",
"discord-ext-menus",
"discord-ext-menus-views",
"discord-py>=2.4.0",
"dnspython>=2.7.0",
"discord-py[speed,voice]>=2.4.0",
"dnspython>=2.6.1",
"motor>=3.6.0",
"python-telegram-bot>=21.6",
]

[project.optional-dependencies]
scripts = [
"aiocsv>=1.3.2",
"aiofiles>=24.1.0",
"python-dateutil>=2.9.0.post0",
]

[tool.uv]
dev-dependencies = [
"pre-commit>=4.0.1",
"pre-commit>=3.5.0",
"ruff>=0.7.0",
]

Expand All @@ -36,7 +37,7 @@ discord-ext-menus-views = { git = "https://github.com/FumeStop/discord-ext-menus

[tool.ruff]
line-length = 85
target-version = "py313"
target-version = "py312"

[tool.ruff.lint.isort]
section-order = ["future", "typing", "standard-library", "third-party", "first-party", "local-folder", "config"]
Expand Down
Loading

0 comments on commit 51c6c40

Please sign in to comment.