refactor: update pre-commit configuration and dependencies for improved Python 3.9 support

This commit is contained in:
Lloyd
2026-05-27 14:28:11 +01:00
parent 62f35c4b45
commit 456e97a896
4 changed files with 32 additions and 43 deletions
+6 -9
View File
@@ -11,14 +11,13 @@ authors = [
description = "PyMC Repeater Daemon"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.8"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
@@ -55,8 +54,7 @@ rrd = [
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"isort>=5.12.0",
"ruff>=0.11.13",
"mypy>=1.7.0",
]
@@ -78,13 +76,12 @@ repeater = [
"presets/*.yaml",
]
[tool.black]
[tool.ruff]
line-length = 100
target-version = ['py38', 'py39', 'py310', 'py311', 'py312']
target-version = "py39"
[tool.isort]
profile = "black"
line_length = 100
[tool.ruff.lint]
extend-ignore = ["E701"]
[tool.setuptools_scm]
version_scheme = "guess-next-dev"