Updated python packages

This commit is contained in:
Donkie
2023-08-28 21:10:07 +02:00
parent c3779c4d2c
commit 871e5282e5
8 changed files with 331 additions and 339 deletions

View File

@@ -2,9 +2,7 @@
name = "spoolman"
version = "0.11.0"
description = "A web service that keeps track of 3D printing spools."
authors = [
{ name = "Donkie", email = "daniel.cf.hultgren@gmail.com" },
]
authors = [{ name = "Donkie", email = "daniel.cf.hultgren@gmail.com" }]
dependencies = [
"uvicorn~=0.22.0",
"httptools>=0.5.0; platform_machine != \"armv7l\"",
@@ -27,7 +25,7 @@ text = "MIT"
[tool.pdm.dev-dependencies]
dev = [
"ruff==0.0.277",
"ruff==0.0.286",
"black~=23.3",
"pre-commit~=3.3",
"pytest~=7.3",
@@ -42,9 +40,7 @@ call = "spoolman.docs:generate_docs"
call = "spoolman.bump:bump"
[tool.ruff]
select = [
"ALL",
]
select = ["ALL"]
ignore = [
"ANN101",
"A003",
@@ -54,6 +50,7 @@ ignore = [
"D213",
"D406",
"D407",
"FA100",
"S104",
"TRY201",
"TRY003",
@@ -66,23 +63,13 @@ 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",
]
requires = ["pdm-backend"]
build-backend = "pdm.backend"