mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-06 22:15:22 +02:00
chore:bump dependencies and fix errors (#2601)
* bump dependencies and fix errors * fix depreciated arg * properly handle validation errors
This commit is contained in:
parent
954a2f5113
commit
db021023fb
4 changed files with 99 additions and 126 deletions
|
@ -10,7 +10,7 @@ start = "mealie.app:main"
|
|||
|
||||
[tool.poetry.dependencies]
|
||||
Jinja2 = "^3.1.2"
|
||||
Pillow = "^9.2.0"
|
||||
Pillow = "^10.0.1"
|
||||
PyYAML = "^6.0.1"
|
||||
SQLAlchemy = "^2"
|
||||
aiofiles = "^23.0.0"
|
||||
|
@ -20,13 +20,13 @@ appdirs = "1.4.4"
|
|||
apprise = "^1.4.5"
|
||||
bcrypt = "^4.0.1"
|
||||
extruct = "^0.14.0"
|
||||
fastapi = "^0.95.0"
|
||||
fastapi = "^0.103.2"
|
||||
gunicorn = "^20.1.0"
|
||||
httpx = "^0.24.1"
|
||||
lxml = "^4.7.1"
|
||||
orjson = "^3.8.0"
|
||||
passlib = "^1.7.4"
|
||||
psycopg2-binary = {version = "^2.9.1", optional = true}
|
||||
psycopg2-binary = { version = "^2.9.1", optional = true }
|
||||
pydantic = "^1.10.4"
|
||||
pyhumps = "^3.5.3"
|
||||
pytesseract = "^0.3.9"
|
||||
|
@ -40,7 +40,7 @@ python-slugify = "^8.0.0"
|
|||
recipe-scrapers = "^14.42.0"
|
||||
requests = "^2.31.0"
|
||||
tzdata = "^2022.7"
|
||||
uvicorn = {extras = ["standard"], version = "^0.21.0"}
|
||||
uvicorn = { extras = ["standard"], version = "^0.21.0" }
|
||||
beautifulsoup4 = "^4.11.2"
|
||||
isodate = "^0.6.1"
|
||||
text-unidecode = "^1.3"
|
||||
|
@ -91,9 +91,7 @@ minversion = "6.0"
|
|||
python_classes = '*Tests'
|
||||
python_files = 'test_*'
|
||||
python_functions = 'test_*'
|
||||
testpaths = [
|
||||
"tests",
|
||||
]
|
||||
testpaths = ["tests"]
|
||||
|
||||
[tool.coverage.report]
|
||||
skip_empty = true
|
||||
|
@ -113,14 +111,14 @@ line-length = 120
|
|||
format = "text"
|
||||
|
||||
# Enable Pyflakes `E` and `F` codes by default.
|
||||
ignore = ["F403", "TID252","B008"]
|
||||
ignore = ["F403", "TID252", "B008"]
|
||||
select = [
|
||||
"E", # pycodestyles
|
||||
"F", # pyflakes
|
||||
"I", # isort
|
||||
"T", # flake8-print
|
||||
"E", # pycodestyles
|
||||
"F", # pyflakes
|
||||
"I", # isort
|
||||
"T", # flake8-print
|
||||
"UP", # pyupgrade
|
||||
"B", # flake8-bugbear
|
||||
"B", # flake8-bugbear
|
||||
# "ANN", # flake8-annotations
|
||||
# "C", # McCabe complexity
|
||||
# "RUF", # Ruff specific
|
||||
|
@ -154,7 +152,7 @@ exclude = [
|
|||
target-version = "py310"
|
||||
|
||||
[tool.ruff.per-file-ignores]
|
||||
"__init__.py" = ["E402","E501"]
|
||||
"__init__.py" = ["E402", "E501"]
|
||||
|
||||
[tool.ruff.mccabe]
|
||||
# Unlike Flake8, default to a complexity level of 10.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue