2021-05-09 02:29:31 +00:00
|
|
|
[tool.poetry]
|
|
|
|
name = "mealie"
|
2021-10-03 22:07:18 +00:00
|
|
|
version = "1.0.0b"
|
2021-05-09 02:29:31 +00:00
|
|
|
description = "A Recipe Manager"
|
|
|
|
authors = ["Hayden <hay-kot@pm.me>"]
|
|
|
|
license = "MIT"
|
|
|
|
|
|
|
|
[tool.poetry.scripts]
|
|
|
|
start = "mealie.app:main"
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
2022-01-10 06:04:24 +00:00
|
|
|
python = "^3.10"
|
2021-05-09 02:29:31 +00:00
|
|
|
aiofiles = "0.5.0"
|
|
|
|
aniso8601 = "7.0.0"
|
|
|
|
appdirs = "1.4.4"
|
2022-02-26 20:20:49 +00:00
|
|
|
fastapi = "^0.74.1"
|
2021-05-09 02:29:31 +00:00
|
|
|
uvicorn = {extras = ["standard"], version = "^0.13.0"}
|
2022-01-10 06:04:24 +00:00
|
|
|
APScheduler = "^3.8.1"
|
2022-01-09 07:24:34 +00:00
|
|
|
SQLAlchemy = "^1.4.29"
|
2022-02-21 20:44:23 +00:00
|
|
|
alembic = "^1.7.5"
|
2021-05-09 02:29:31 +00:00
|
|
|
Jinja2 = "^2.11.2"
|
|
|
|
python-dotenv = "^0.15.0"
|
|
|
|
python-slugify = "^4.0.1"
|
|
|
|
requests = "^2.25.1"
|
|
|
|
PyYAML = "^5.3.1"
|
2021-11-26 21:00:02 +00:00
|
|
|
extruct = "^0.13.0"
|
2021-05-09 02:29:31 +00:00
|
|
|
python-multipart = "^0.0.5"
|
2022-02-26 20:20:49 +00:00
|
|
|
fastapi-camelcase = "^1.0.5"
|
2021-05-09 02:29:31 +00:00
|
|
|
bcrypt = "^3.2.0"
|
2021-06-11 23:30:06 +00:00
|
|
|
python-jose = "^3.3.0"
|
2021-05-09 02:29:31 +00:00
|
|
|
passlib = "^1.7.4"
|
2022-01-10 06:04:24 +00:00
|
|
|
lxml = "^4.7.1"
|
2021-05-09 02:29:31 +00:00
|
|
|
Pillow = "^8.2.0"
|
|
|
|
pathvalidate = "^2.4.1"
|
2022-01-10 06:04:24 +00:00
|
|
|
apprise = "^0.9.6"
|
2022-02-26 20:20:49 +00:00
|
|
|
recipe-scrapers = "^13.18.1"
|
2021-06-22 18:22:31 +00:00
|
|
|
psycopg2-binary = {version = "^2.9.1", optional = true}
|
|
|
|
gunicorn = "^20.1.0"
|
2021-10-04 02:38:45 +00:00
|
|
|
emails = "^0.6"
|
2021-10-09 21:08:23 +00:00
|
|
|
python-i18n = "^0.3.9"
|
2021-11-24 05:41:07 +00:00
|
|
|
python-ldap = "^3.3.1"
|
2022-01-09 07:24:34 +00:00
|
|
|
pydantic = "^1.9.0"
|
2022-01-10 06:04:24 +00:00
|
|
|
tzdata = "^2021.5"
|
2021-05-09 02:29:31 +00:00
|
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
|
|
pylint = "^2.6.0"
|
|
|
|
pytest = "^6.2.1"
|
|
|
|
pytest-cov = "^2.11.0"
|
2022-03-13 23:42:22 +00:00
|
|
|
mkdocs-material = "^8.2.3"
|
2022-01-10 06:04:24 +00:00
|
|
|
flake8 = "^4.0.1"
|
2021-05-09 02:29:31 +00:00
|
|
|
coverage = "^5.5"
|
2021-08-02 03:24:47 +00:00
|
|
|
pydantic-to-typescript = "^1.0.7"
|
2021-08-07 23:14:01 +00:00
|
|
|
rich = "^10.7.0"
|
2021-08-28 22:27:56 +00:00
|
|
|
isort = "^5.9.3"
|
2021-10-29 03:28:33 +00:00
|
|
|
flake8-print = "^4.0.0"
|
2022-01-10 06:04:24 +00:00
|
|
|
black = "^21.12b0"
|
2022-01-13 22:06:52 +00:00
|
|
|
coveragepy-lcov = "^0.1.1"
|
2022-03-15 23:01:56 +00:00
|
|
|
mypy = "^0.940"
|
|
|
|
types-python-slugify = "^5.0.3"
|
|
|
|
types-PyYAML = "^6.0.4"
|
|
|
|
types-requests = "^2.27.12"
|
|
|
|
types-urllib3 = "^1.26.11"
|
|
|
|
pre-commit = "^2.17.0"
|
2021-05-09 02:29:31 +00:00
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core>=1.0.0"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
|
|
|
|
[tool.black]
|
|
|
|
line-length = 120
|
2022-01-13 22:06:52 +00:00
|
|
|
target-version = ["py310"]
|
|
|
|
|
|
|
|
[tool.vulture]
|
|
|
|
exclude = ["**/models/**/*.py", "dir/"]
|
|
|
|
ignore_decorators = ["@*router.*", "@app.on_event", "@validator", "@controller"]
|
|
|
|
make_whitelist = true
|
|
|
|
min_confidence = 60
|
|
|
|
paths = ["mealie"]
|
|
|
|
sort_by_size = true
|
2021-08-28 22:27:56 +00:00
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
profile = "black"
|
|
|
|
line_length = 120
|
|
|
|
multi_line_output = 3
|
2022-03-15 23:01:56 +00:00
|
|
|
|
2021-05-09 02:29:31 +00:00
|
|
|
[tool.pytest.ini_options]
|
|
|
|
minversion = "6.0"
|
|
|
|
addopts = "-ra -q --cov=mealie"
|
|
|
|
python_files = 'test_*'
|
|
|
|
python_classes = '*Tests'
|
|
|
|
python_functions = 'test_*'
|
|
|
|
testpaths = [
|
|
|
|
"tests",
|
|
|
|
]
|
|
|
|
|
|
|
|
[tool.coverage.report]
|
2021-06-11 23:30:06 +00:00
|
|
|
skip_empty = true
|
|
|
|
|
|
|
|
[tool.poetry.extras]
|
2022-03-15 23:01:56 +00:00
|
|
|
pgsql = ["psycopg2-binary"]
|
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
python_version = "3.10"
|
|
|
|
ignore_missing_imports = true
|
|
|
|
follow_imports = "skip"
|
|
|
|
strict_optional = false # TODO: Fix none type checks - temporary stop-gap to implement mypy
|