jobs/mongodb_migration/pyproject.toml (36 lines of code) (raw):
[tool.poetry]
authors = ["Sylvain Lesage <sylvain.lesage@huggingface.co>"]
description = "MongoDB database migration job"
name = "mongodb_migration"
version = "0.0.1"
license = "Apache-2.0"
[tool.poetry.dependencies]
python = "3.9.18"
environs = "^9.5.0"
libcommon = {path = "../../libs/libcommon", develop = true}
[tool.poetry.group.dev.dependencies]
bandit = "^1.7.4"
mypy = "^1.10.0"
pip-audit = "^2.7.3"
pytest = "^8.2.2"
pytest-memray = "^1.6.0"
ruff = "^0"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[tool.pytest.ini_options]
filterwarnings = ["ignore::DeprecationWarning"]
[tool.mypy]
strict = true
[tool.ruff]
line-length = 119
src = ["src"]
target-version = "py39"
[tool.ruff.lint]
extend-select = [
"ARG", # flake8-unused-arguments
"I", # isort
# flake8-pep585:
"UP006", # non-pep585-annotation
"UP035", # deprecated-import
]