92 lines
1.9 KiB
TOML
92 lines
1.9 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "website-analyzer"
|
|
version = "1.0.0"
|
|
description = "A Django-based web application for analyzing website performance, security, and best practices"
|
|
readme = "README.md"
|
|
license = {text = "MIT"}
|
|
requires-python = ">=3.11"
|
|
authors = [
|
|
{name = "Website Analyzer Team"}
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Framework :: Django :: 5.0",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
]
|
|
|
|
dependencies = [
|
|
"Django>=5.0,<6.0",
|
|
"djangorestframework>=3.14.0",
|
|
"django-cors-headers>=4.3.0",
|
|
"psycopg2-binary>=2.9.9",
|
|
"celery[redis]>=5.3.0",
|
|
"redis>=5.0.0",
|
|
"httpx>=0.26.0",
|
|
"playwright>=1.40.0",
|
|
"python-dotenv>=1.0.0",
|
|
"gunicorn>=21.2.0",
|
|
"whitenoise>=6.6.0",
|
|
"validators>=0.22.0",
|
|
"ipaddress>=1.0.23",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.4.0",
|
|
"pytest-django>=4.7.0",
|
|
"pytest-asyncio>=0.23.0",
|
|
"pytest-cov>=4.1.0",
|
|
"black>=23.12.0",
|
|
"isort>=5.13.0",
|
|
"flake8>=7.0.0",
|
|
"mypy>=1.8.0",
|
|
"django-stubs>=4.2.0",
|
|
]
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
target-version = ['py311']
|
|
include = '\.pyi?$'
|
|
exclude = '''
|
|
/(
|
|
\.git
|
|
| \.hg
|
|
| \.mypy_cache
|
|
| \.tox
|
|
| \.venv
|
|
| _build
|
|
| buck-out
|
|
| build
|
|
| dist
|
|
| migrations
|
|
)/
|
|
'''
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
line_length = 100
|
|
skip = ["migrations", ".venv"]
|
|
|
|
[tool.pytest.ini_options]
|
|
DJANGO_SETTINGS_MODULE = "core.settings"
|
|
python_files = ["test_*.py", "*_test.py"]
|
|
addopts = "-v --tb=short"
|
|
|
|
[tool.mypy]
|
|
python_version = "3.11"
|
|
plugins = ["mypy_django_plugin.main"]
|
|
ignore_missing_imports = true
|
|
strict = false
|
|
|
|
[tool.django-stubs]
|
|
django_settings_module = "core.settings"
|