django-notifications/pyproject.toml

182 lines
4.4 KiB
TOML
Raw Normal View History

[tool.poetry]
name = "django-notifications-hq"
version = "2.0.0"
description = "GitHub notifications alike app for Django."
authors = [
"Justin Quick <justquick@gmail.com>",
"Yang Yubo <yang@yangyubo.com>",
]
maintainers = [
# Team members
"Alvaro Mariano <https://github.com/AlvaroLQueiroz>",
"Samuel Spencer <https://github.com/LegoStormtroopr)>",
"YPCrumble <https://github.com/YPCrumble>",
# Contributors
"Adriaan <https://github.com/ChocolateCookies>",
"blag <https://github.com/blag>",
"Dan DeFelippi <https://github.com/driverdan>",
"Daniel Shapiro <https://github.com/danxshap>",
"Fábio C. Barrionuevo da Luz <https://github.com/luzfcb>",
"fay <https://github.com/fay>",
"Jesper Håkansson <https://github.com/drager>",
"Konrad Hałas <https://github.com/konradhalas>",
"Matthew Schinckel <https://github.com/schinckel>",
"Mirat Can Bayrak <https://github.com/miratcan>",
"Peppe Bergqvist <https://github.com/peppelorum>",
"randomfish <https://github.com/randomfish>",
"Sandro Rodrigues <https://github.com/srtab>",
"Utkucan Bıyıklı <https://github.com/UtkucanBykl>",
"Zhongyuan Zhang <http://github.com/zhang-z>",
]
license = "MIT"
readme = "README.md"
homepage = "https://pypi.org/project/django-notifications-hq"
documentation = "https://pypi.org/project/django-notifications-hq"
repository = "https://github.com/django-notifications/django-notifications"
keywords = [
"django",
"notifications",
"github",
"action",
"event",
"stream",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Natural Language :: English",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Communications :: Notification",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
]
packages = [
{include = "notifications/*.py"},
{include = "notifications/migrations/"},
2023-07-07 11:25:02 +00:00
{include = "notifications/models/"},
{include = "notifications/templatetags/"},
]
include = [
"CHANGELOG.md",
"notifications/locale/",
"notifications/static/",
"notifications/templates/",
]
[tool.poetry.dependencies]
python = "^3.8.1"
django = ">3.2"
swapper = "^1"
[tool.poetry.group.dev.dependencies]
black = "^23"
bandit = "^1"
2023-06-19 23:29:14 +00:00
coverage = {extras = ["toml"], version = "^7.2.7"}
django-debug-toolbar = "^4"
isort = "^5"
mypy = "^1" ### TODO
pre-commit = "^3"
pylint = "^2"
pylint-django = "^2"
pytest = "^7"
pytest-cov = "^4"
pytest-django = "^4"
tox = "^4"
2023-06-16 01:30:41 +00:00
psycopg2-binary = "^2.9.6"
django-test-migrations = "^1.3.0"
factory-boy = "^3.2.1"
2023-06-19 23:29:14 +00:00
pytest-xdist = "^3.3.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
2023-06-23 23:24:33 +00:00
[tool.pylint.MAIN]
load-plugins = [
2023-06-23 23:24:33 +00:00
"pylint_django",
"pylint.extensions.mccabe",
]
2023-06-24 00:10:23 +00:00
ignore = [
"migrations",
]
2023-06-23 23:24:33 +00:00
jobs = 0
2023-07-07 00:54:47 +00:00
django-settings-module = "notifications.settings"
2023-06-23 23:24:33 +00:00
[tool.pylint.DESIGN]
max-locals = 20
max-args = 10
max-parents = 10
[tool.pylint.'MESSAGES CONTROL']
disable = [
2023-06-23 23:24:33 +00:00
"missing-function-docstring",
"missing-class-docstring",
"missing-module-docstring",
"fixme",
]
[tool.pylint.FORMAT]
max-line-length = 120
2023-06-23 23:24:33 +00:00
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
[tool.bandit]
2023-06-23 23:24:33 +00:00
exclude_dirs = [
"notifications/tests",
]
[tool.bandit.assert_used]
2023-06-23 23:24:33 +00:00
skips = ["*test*.py"]
[tool.pytest.ini_options]
minversion = "7.0"
2023-06-19 23:29:14 +00:00
addopts = "--reuse-db -n auto --cov=notifications"
norecursedirs = [
".git",
".github",
".idea",
".pytest_cache",
".tox",
".vscode",
"dist",
"django_notifications_hq.egg-info",
]
python_files = [
"tests.py",
"test_*.py",
"*_tests.py",
]
testpaths = [
"tests",
"integration",
]
2023-07-06 00:00:51 +00:00
DJANGO_SETTINGS_MODULE = "notifications.tests.settings_for_tests"
2023-06-16 01:30:41 +00:00
django_debug_mode = "keep"
2023-06-19 23:29:14 +00:00
[tool.coverage.run]
relative_files = true
parallel = true
branch = true