Formatted pyproject.toml

This commit is contained in:
Donkie
2023-07-10 01:28:11 +02:00
parent 446cfd639b
commit 97bf2f68ce

View File

@@ -3,7 +3,7 @@ name = "spoolman"
version = "0.7.0"
description = "A web service that keeps track of 3D printing spools."
authors = [
{name = "Donkie", email = "daniel.cf.hultgren@gmail.com"},
{ name = "Donkie", email = "daniel.cf.hultgren@gmail.com" },
]
dependencies = [
"uvicorn~=0.22.0",
@@ -21,7 +21,9 @@ dependencies = [
"setuptools~=68.0",
]
requires-python = ">=3.9"
license = {text = "MIT"}
[project.license]
text = "MIT"
[tool.pdm.dev-dependencies]
dev = [
@@ -33,23 +35,51 @@ dev = [
"httpx~=0.24",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.scripts]
docs = {call = "spoolman.docs:generate_docs"}
[tool.pdm.scripts.docs]
call = "spoolman.docs:generate_docs"
[tool.ruff]
select = ["ALL"]
ignore = ["ANN101", "A003", "D101", "D104", "D203", "D213", "D406", "D407", "S104", "TRY201", "TRY003", "EM101", "EM102", "DTZ003", "PLR0913"]
select = [
"ALL",
]
ignore = [
"ANN101",
"A003",
"D101",
"D104",
"D203",
"D213",
"D406",
"D407",
"S104",
"TRY201",
"TRY003",
"EM101",
"EM102",
"DTZ003",
"PLR0913",
]
line-length = 120
target-version = "py39"
[tool.ruff.per-file-ignores]
"tests*/*" = ["ANN201", "S101", "PLR2004"]
"migrations/versions/*" = ["N999"]
"tests*/*" = [
"ANN201",
"S101",
"PLR2004",
]
"migrations/versions/*" = [
"N999",
]
[tool.black]
line-length = 120
target-version = ['py39']
target-version = [
"py39",
]
[build-system]
requires = [
"pdm-backend",
]
build-backend = "pdm.backend"