switch from Poetry to uv
This commit is contained in:
parent
ce525f2c7c
commit
b04996dff1
9 changed files with 704 additions and 100 deletions
|
|
@ -1,33 +1,35 @@
|
|||
[project]
|
||||
requires-python = ">=3.8"
|
||||
|
||||
[tool.poetry]
|
||||
name = "metadex"
|
||||
version = "0.1.0"
|
||||
version = "0"
|
||||
description = ""
|
||||
authors = ["ducklet <ducklet@noreply.code.dumpr.org>"]
|
||||
authors = [{ name = "ducklet", email = "ducklet@noreply.code.dumpr.org" }]
|
||||
requires-python = ">=3.8"
|
||||
dependencies = [
|
||||
"SQLAlchemy~=2.0",
|
||||
"wcwidth>=0.2.5,<0.3",
|
||||
"typing-extensions",
|
||||
]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.8"
|
||||
SQLAlchemy = {version = "^2.0"}
|
||||
wcwidth = "^0.2.5"
|
||||
typing-extensions = "*"
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"interrogate",
|
||||
"mypy",
|
||||
"ruff",
|
||||
]
|
||||
test = [
|
||||
"pytest>=7.2.0,<8",
|
||||
"pytest-cov>=4.0.0,<5",
|
||||
]
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
interrogate = "*"
|
||||
black = "*"
|
||||
isort = "*"
|
||||
autoflake = "*"
|
||||
mypy = "*"
|
||||
ruff = "*"
|
||||
|
||||
[tool.poetry.group.test.dependencies]
|
||||
pytest = "^7.2.0"
|
||||
pytest-cov = "^4.0.0"
|
||||
[tool.uv]
|
||||
default-groups = [
|
||||
"dev",
|
||||
"test",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.interrogate]
|
||||
ignore-init-module = true
|
||||
|
|
@ -54,17 +56,7 @@ module = [
|
|||
]
|
||||
ignore_missing_imports = true
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
|
||||
[tool.autoflake]
|
||||
remove-duplicate-keys = true
|
||||
remove-unused-variables = true
|
||||
remove-all-unused-imports = true
|
||||
ignore-init-module-imports = true
|
||||
ignore-pass-after-docstring = true
|
||||
|
||||
[tool.ruff]
|
||||
[tool.ruff.lint]
|
||||
# See https://beta.ruff.rs/docs/rules/
|
||||
ignore = [
|
||||
"E501", # line length, handled by Black
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue