57 lines
1.1 KiB
TOML
57 lines
1.1 KiB
TOML
[project]
|
|
name = 'newsreader'
|
|
version = '0.4.4'
|
|
authors = [{name = 'Sonny', email= 'sonnyba871@gmail.com'}]
|
|
license = {text = 'GPL-3.0'}
|
|
requires-python = '>=3.11'
|
|
dependencies = [
|
|
'django~=3.2',
|
|
'celery~=5.0',
|
|
'psycopg2',
|
|
'django-axes',
|
|
'django-celery-beat~=2.5.0',
|
|
'django-registration-redux~=2.7',
|
|
'django-rest-framework',
|
|
"python-memcached<=1.59",
|
|
'python-dotenv~=0.12',
|
|
'ftfy~=5.8',
|
|
'requests',
|
|
'requests_oauthlib',
|
|
'feedparser',
|
|
'bleach',
|
|
'beautifulsoup4',
|
|
'lxml',
|
|
"setuptools>=74.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
testing = [
|
|
'factory-boy',
|
|
'freezegun',
|
|
'tblib',
|
|
"ruff>=0.6.3",
|
|
]
|
|
development = [
|
|
'django-debug-toolbar',
|
|
'django-extensions',
|
|
]
|
|
ci = ['coverage>=5.3.1']
|
|
production = ['gunicorn~=20.0', 'sentry-sdk~=1.0']
|
|
|
|
[tool.uv]
|
|
environments = ["sys_platform == 'linux'"]
|
|
|
|
[tool.ruff]
|
|
include = ['pyproject.toml', 'src/**/*.py']
|
|
|
|
line-length = 88
|
|
|
|
[tool.ruff.lint.isort]
|
|
default-section = 'third-party'
|
|
known-first-party = ['newsreader']
|
|
|
|
lines-between-types=1
|
|
lines-after-imports=2
|
|
|
|
[tool.ruff.lint.isort.sections]
|
|
django = ['django']
|