feat: ruff'ed

This commit is contained in:
2025-05-02 08:38:57 +02:00
parent 32b36b81b3
commit 48b53d851a
62 changed files with 2019 additions and 3655 deletions
+97
View File
@@ -0,0 +1,97 @@
[project]
name = "shoppy"
version = "0.1.1"
description = ""
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"boto3==1.34.105",
"celery==5.4.0",
"dj-database-url==1.0.0",
"django==5.1.4",
"django-celery-beat==2.7.0",
"django-cors-headers==3.13.0",
"django-cryptography==1.1",
"django-debug-toolbar==4.4.6",
"django-environ==0.10.0",
"django-extensions==3.2.0",
"django-filter==24.3",
"django-silk==5.1.0",
"django-storages==1.13.2",
"django-unfold==0.42.0",
"django-watchman==1.3.0",
"djangorestframework==3.15.2",
"djangorestframework-simplejwt==5.4.0",
"drf-spectacular==0.26.1",
"gonk==0.6.1",
"ipython==8.16.1",
"pillow==11.0.0",
"psycopg2-binary==2.9.10",
"pydes==2.0.1",
"pytailwindcss==0.2.0",
"redis==4.5.4",
"requests==2.32.3",
"uvicorn==0.21.1",
"xmltodict==0.13.0",
]
[tool.ruff]
line-length = 119
indent-width = 4
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
".venv",
]
[tool.ruff.format]
quote-style = "single"
skip-magic-trailing-comma = true
[tool.ruff.lint]
ignore = ["E501", "E741", "F401", "F403", "F405", "F406"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "main.settings"
addopts = "--ignore=src"
python_files = ["tests.py", "test_*.py", "*_tests.py"]
[tool.pyright]
venvPath = "."
venv = ".venv"
[dependency-groups]
dev = [
"coverage==7.2.3",
"django-browser-reload==1.17.0",
"django-celery-beat==2.7.0",
"django-debug-toolbar==4.4.6",
"django-silk==5.1.0",
"pytest==7.3.0",
"pytest-cov==4.0.0",
"pytest-django==4.8.0",
]