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