Rewrite
This commit is contained in:
@ -1,21 +1,44 @@
|
||||
[tool.poetry]
|
||||
name = "main"
|
||||
version = "0.1.0"
|
||||
description = ""
|
||||
authors = ["Your Name <you@example.com>"]
|
||||
readme = "README.md"
|
||||
packages = [{ include = "src" }]
|
||||
[project]
|
||||
name = "testdata"
|
||||
version = "1.1.0"
|
||||
requires-python = ">=3.11, <4"
|
||||
dependencies = [
|
||||
"fastapi==0.115.*",
|
||||
"uvicorn==0.32.*",
|
||||
"pydantic==2.10.*",
|
||||
]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.11"
|
||||
fastapi = "^0.110.1"
|
||||
hypercorn = "^0.16.0"
|
||||
pydantic = "^2.6.4"
|
||||
ipaddress = "^1.0.23"
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pytest==8.3.*",
|
||||
"mypy==1.13.*",
|
||||
"pylint==3.3.*",
|
||||
"requests==2.32.*",
|
||||
"types-requests==2.32.*"
|
||||
]
|
||||
|
||||
[tool.poetry.scripts]
|
||||
testdata = "src.main:main"
|
||||
[project.scripts]
|
||||
testdata = "testdata.main:main"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
requires = ["setuptools==75.*"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["src"]
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
testdata = ["py.typed"]
|
||||
|
||||
[tool.autopep8]
|
||||
max_line_length = 150
|
||||
|
||||
[tool.pylint.'MESSAGES CONTROL']
|
||||
disable = [
|
||||
"line-too-long",
|
||||
"missing-module-docstring",
|
||||
"missing-class-docstring",
|
||||
"missing-function-docstring",
|
||||
"too-few-public-methods",
|
||||
"broad-exception-caught"
|
||||
]
|
||||
|
Reference in New Issue
Block a user