|
[tool.poetry] |
|
name = "jio_savan_music_downloader" |
|
version = "0.0.1" |
|
description = "This app will download Jio-Savan music." |
|
authors = ["Deepak pant <[email protected]>"] |
|
repository = "https://github.com/DeepakPant93/jio-savan-music-downloader" |
|
documentation = "https://DeepakPant93.github.io/jio-savan-music-downloader/" |
|
readme = "README.md" |
|
packages = [ |
|
{include = "jio_savan_music_downloader"} |
|
] |
|
|
|
[tool.poetry.scripts] |
|
jio_savan_music_downloader = "jio_savan_music_downloader.main:main" |
|
|
|
[tool.poetry.dependencies] |
|
python = ">=3.11,<4.0" |
|
fastapi = "~0.100.0" |
|
uvicorn = "^0.23.0" |
|
fastapi-health = "^0.4.0" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies] |
|
deptry = "^0.16.2" |
|
mypy = "^1.5.1" |
|
pre-commit = "^3.4.0" |
|
tox = "^4.11.1" |
|
ipykernel = "^6.25.0" |
|
black = "^23.9.0" |
|
build = "^1.0.0" |
|
bump-my-version = "^0.28.2" |
|
codespell = "^2.2.5" |
|
wheel = "^0.41.0" |
|
twine = "^4.0.0" |
|
bandit = "^1.8.0" |
|
pylint = "^3.0.0" |
|
pydocstyle = "^6.3.0" |
|
isort = "^5.12.0" |
|
|
|
[tool.poetry.group.docs.dependencies] |
|
mkdocs = "^1.5.0" |
|
sphinx = "^7.2.0" |
|
mkdocs-git-revision-date-plugin = "^0.3.2" |
|
mkdocs-git-revision-date-localized-plugin = "^1.3.0" |
|
mkdocs-jupyter = ">=0.25.1" |
|
mkdocs-pdf-export-plugin = "^0.5.10" |
|
mkdocs-material = ">=9.1.3" |
|
mkdocstrings-crystal = "^0.3.0" |
|
pygments = "^2.16.0" |
|
pymdown-extensions = "^10.0" |
|
nbconvert = "^7.7.0" |
|
nbformat = "^5.9.0" |
|
livereload = "^2.6.3" |
|
watchdog = "^3.0.0" |
|
mkdocstrings = {extras = ["python"], version = "^0.27.0"} |
|
mkdocs-minify-plugin = "^0.8.0" |
|
|
|
[tool.poetry.group.test.dependencies] |
|
pytest-mock = "^3.11.0" |
|
factory-boy = "^3.3.1" |
|
pytest-asyncio = "^0.21.0" |
|
pytest-xdist = "^3.3.1" |
|
freezegun = "^1.2.0" |
|
pytest = "^7.2.0" |
|
allure-pytest = "^2.13.0" |
|
pytest-sugar = "^0.9.7" |
|
pytest-cov = "^4.0.0" |
|
httpx = "^0.24.0" |
|
pytest-runner = "^6.0.0" |
|
|
|
|
|
[build-system] |
|
requires = ["poetry-core>=1.0.0"] |
|
build-backend = "poetry.core.masonry.api" |
|
|
|
|
|
[tool.mypy] |
|
files = ["jio_savan_music_downloader"] |
|
disallow_untyped_defs = true |
|
disallow_any_unimported = true |
|
no_implicit_optional = true |
|
check_untyped_defs = true |
|
warn_return_any = true |
|
warn_unused_ignores = true |
|
show_error_codes = true |
|
pretty = true |
|
show_traceback = true |
|
|
|
|
|
[[tool.mypy.overrides]] |
|
module = [ |
|
"joblib.*", |
|
"yaml.*", |
|
"ensure.*", |
|
"fastapi_health.*", |
|
"jio_savan_music_downloader.main" |
|
] |
|
ignore_missing_imports = true |
|
ignore_errors = true |
|
|
|
|
|
[tool.pytest.ini_options] |
|
testpaths = ["tests"] |
|
norecursedirs = "legacy_tests" |
|
python_files = ["test_*.py"] |
|
python_classes = ["Test*"] |
|
python_functions = ["test_*"] |
|
filterwarnings = [ |
|
"ignore:.*general_plain_validator_function.*:DeprecationWarning", |
|
"ignore:.*with_info_plain_validator_function.*:DeprecationWarning" |
|
] |
|
|
|
|
|
[tool.ruff] |
|
target-version = "py39" |
|
line-length = 120 |
|
fix = true |
|
select = [ |
|
|
|
"YTT", |
|
|
|
"S", |
|
|
|
"B", |
|
|
|
"A", |
|
|
|
"C4", |
|
|
|
"T10", |
|
|
|
"SIM", |
|
|
|
"I", |
|
|
|
"C90", |
|
|
|
"E", "W", |
|
|
|
"F", |
|
|
|
"PGH", |
|
|
|
"UP", |
|
|
|
"RUF", |
|
|
|
"TRY", |
|
] |
|
ignore = [ |
|
|
|
"E501", |
|
|
|
"E731", |
|
|
|
"S104" |
|
] |
|
|
|
[tool.ruff.format] |
|
preview = true |
|
|
|
[tool.coverage.report] |
|
skip_empty = true |
|
|
|
|
|
[tool.coverage.run] |
|
branch = true |
|
source = ["jio_savan_music_downloader"] |
|
|
|
|
|
omit = [ |
|
"**/__init__.py", |
|
"jio_savan_music_downloader/main.py", |
|
"jio_savan_music_downloader/constants/*", |
|
"jio_savan_music_downloader/exception/*", |
|
"jio_savan_music_downloader/logger/*", |
|
"jio_savan_music_downloader/entity/*", |
|
"jio_savan_music_downloader/config/*", |
|
"jio_savan_music_downloader/models/*", |
|
] |
|
|
|
[tool.ruff.per-file-ignores] |
|
"tests/*" = ["S101"] |
|
|
|
[tool.bumpversion] |
|
current_version = "0.0.1" |
|
commit = true |
|
tag = true |
|
|
|
[[tool.bumpversion.files]] |
|
glob = "pyproject.toml" |
|
search = 'version = "{current_version}"' |
|
replace = 'version = "{new_version}"' |
|
|
|
[[tool.bumpversion.files]] |
|
glob = "jio_savan_music_downloader/main.py" |
|
search = '__version__ = "{current_version}"' |
|
replace = '__version__ = "{new_version}"' |
|
|
|
[tool.deptry] |
|
exclude = ["research","artifacts", "notebooks", "tests", "docs", ".venv", "venv", "__pycache__", ".ruff_cache", ".pytest_cache", ".mypy_cache", ".coverage", ".git", "build", "dist", ".github", "site", "config"] |
|
|
|
[tool.pydocstyle] |
|
select = ["D101", "D102"] |