Template
Update template to use uv and have renovate.
This commit is contained in:
+36
-13
@@ -1,21 +1,24 @@
|
||||
[tool.poetry]
|
||||
[project]
|
||||
name = "${REPO_NAME}"
|
||||
version = "0.1.0"
|
||||
description = ""
|
||||
authors = ["${REPO_OWNER}"]
|
||||
authors = [{name="${REPO_OWNER}", email=""}]
|
||||
readme = "README.md"
|
||||
dependencies = [
|
||||
"cryptography>=43.0.3",
|
||||
"nextcord>=2.6.0",
|
||||
"pandas>=2.2.3",
|
||||
"pymysql>=1.1.1",
|
||||
"python-dotenv>=1.0.1",
|
||||
"setuptools>=75.3.0",
|
||||
"sqlmodel>=0.0.22",
|
||||
]
|
||||
requires-python = ">=3.12"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.11"
|
||||
hydra-core = "1.3.2"
|
||||
nextcord = "2.6.1"
|
||||
python-dotenv = "1.0.0"
|
||||
[tool.uv]
|
||||
dev-dependencies = ["ruff>=0.7.2"]
|
||||
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.ruff]
|
||||
# Exclude a variety of commonly ignored directories.
|
||||
exclude = [
|
||||
@@ -58,8 +61,28 @@ target-version = "py38"
|
||||
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
|
||||
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
|
||||
# McCabe complexity (`C901`) by default.
|
||||
select = ["E4", "E7", "E9", "F", "D100", "D1"]
|
||||
ignore = ["D107"]
|
||||
select = ["ALL"]
|
||||
ignore = [
|
||||
"B008", # I build SlashOptions as arguments.
|
||||
"COM812",
|
||||
"COM819",
|
||||
"D107", # don't want docstrings on init functions
|
||||
"D203",
|
||||
"D206",
|
||||
"D212",
|
||||
"D300",
|
||||
"E111",
|
||||
"E114",
|
||||
"E117",
|
||||
"ISC001",
|
||||
"ISC002",
|
||||
"PD011", # doesn't like me using '.values' on embeds....
|
||||
"Q000",
|
||||
"Q001",
|
||||
"Q002",
|
||||
"Q003",
|
||||
"W191",
|
||||
]
|
||||
|
||||
# Allow fix for all enabled rules (when `--fix`) is provided.
|
||||
fixable = ["ALL"]
|
||||
|
||||
Reference in New Issue
Block a user