Something went wrong. Try again.
Track limited-time free drops across Twitch, Kick, and Chzzk. ttvdrops.lovinator.space
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138[project]name = "ttvdrops"version = "0.1.0"description = "Track limited-time free rewards across Twitch, Kick, and Chzzk."readme = "README.md"requires-python = ">=3.14"dependencies = [ "celery[redis]", "colorama", "dateparser", "django-auto-prefetch", "django-celery-beat", "django-celery-results", "django-debug-toolbar", "django-ninja", "django-zeal", "django", "flower", "gunicorn", "hiredis", "httpx", "index-now-for-python", "json-repair", "pillow", "platformdirs", "psycopg[binary]", "pydantic", "pygments", "python-dotenv", "redis", "sentry-sdk", "setproctitle", "sitemap-parser", "tqdm",]
[dependency-groups]dev = [ "celery-types", "django-stubs", "djlint", "hypothesis[django]", "pytest-cov", "pytest-django", "pytest-randomly", "pytest-xdist[psutil]", "pytest",]
[tool.pytest.ini_options]DJANGO_SETTINGS_MODULE = "config.settings"python_files = ["test_*.py", "*_test.py"]addopts = "--tb=short -n auto --cov"markers = ["no_zeal: run test without zeal_context N+1 checks"]filterwarnings = [ "ignore:Parsing dates involving a day of month without a year specified is ambiguous:DeprecationWarning",]
[tool.ruff]fix = truepreview = trueunsafe-fixes = true
format.docstring-code-format = trueformat.preview = true
lint.future-annotations = truelint.isort.force-single-line = truelint.pycodestyle.ignore-overlong-task-comments = truelint.pydocstyle.convention = "google"lint.select = ["ALL"]
# Don't automatically remove unused variableslint.unfixable = ["F841"]
lint.ignore = [ "ANN002", # Checks that function *args arguments have type annotations. "ANN003", # Checks that function **kwargs arguments have type annotations. "C901", # Checks for functions with a high McCabe complexity. "CPY001", # Checks for the absence of copyright notices within Python files. "D100", # Checks for undocumented public module definitions. "D104", # Checks for undocumented public package definitions. "D105", # Checks for undocumented magic method definitions. "D106", # Checks for undocumented public class definitions, for nested classes. "E501", # Checks for lines that exceed the specified maximum character length. "ERA001", # Checks for commented-out Python code. "FIX002", # Checks for "TODO" comments. "PLR0911", # Checks for functions or methods with too many return statements. "PLR0912", # Checks for functions or methods with too many branches, including (nested) if, elif, and else branches, for loops, try-except clauses, and match and case statements. "PLR6301", # Checks for the presence of unused self parameter in methods definitions. "RUF012", # Checks for mutable default values in class attributes. "ARG001", # Checks for the presence of unused arguments in function definitions.
# Conflicting lint rules when using Ruff's formatter # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules "COM812", # Checks for the absence of trailing commas. "COM819", # Checks for the presence of prohibited trailing commas. "D206", # Checks for docstrings that are indented with tabs. "D300", # Checks for docstrings that use '''triple single quotes''' instead of """triple double quotes""". "E111", # Checks for indentation with a non-multiple of 4 spaces. "E114", # Checks for indentation of comments with a non-multiple of 4 spaces. "E117", # Checks for over-indented code. "ISC001", # Checks for implicitly concatenated strings on a single line. "ISC002", # Checks for implicitly concatenated strings that span multiple lines. "Q000", # Checks for inline strings that use single quotes or double quotes, depending on the value of the lint.flake8-quotes.inline-quotes option. "Q001", # Checks for multiline strings that use single quotes or double quotes, depending on the value of the lint.flake8-quotes.multiline-quotes setting. "Q002", # Checks for docstrings that use single quotes or double quotes, depending on the value of the lint.flake8-quotes.docstring-quotes setting. "Q003", # Checks for strings that include escaped quotes, and suggests changing the quote style to avoid the need to escape them. "W191", # Checks for indentation that uses tabs.]
[tool.ruff.lint.per-file-ignores]"**/tests/**" = [ "ARG", "D102", "FBT", "PLR0904", "PLR2004", "PLR6301", "S101", "S105", "S106", "S311", "SLF001",]"**/migrations/**" = ["RUF012"]"**/api.py" = [ "PLR0913", # Allow many arguments for API endpoint functions]
[tool.djlint]profile = "django"ignore = "H021,H030"
[tool.uv.sources]sitemap-parser = { git = "https://github.com/TheLovinator1/sitemap-parser.git" }