[build-system]
requires = ["setuptools>=65.5.1", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[project]
name = "youtube_html_parser"
description = "parses youtube content"
readme = "README.md"
requires-python = ">=3.7"
keywords = [""]
license = { text = "BSD 3-Clause License" }
classifiers = ["Programming Language :: Python :: 3"]
dependencies = [
    "beautifulsoup4[lxml]",
    "pytest-xdist",
    "yt-dlp>=2023.12.30" # Adjust this to the latest version of yt-dlp
]
# Change this with the version number bump.
version = "1.0.1"

[tool.setuptools]
package-dir = {"" = "src"}
packages = ["youtube_html_parser"]

[tool.ruff]
line-length = 200

[tool.pylint."MESSAGES CONTROL"]
good-names = [
    "c",
    "i",
    "ok",
    "id",
    "e",
    "f"
]
disable = [
    "missing-function-docstring",
    "missing-module-docstring"
]

[tool.isort]
profile = "black"

[tool.mypy]
ignore_missing_imports = true
disable_error_code = ["import-untyped"]

[project.scripts]
youtube-html-parser = "youtube_html_parser.cli:main"
