mirror of
https://github.com/Hopiu/django-notifications.git
synced 2026-03-16 21:30:24 +00:00
187 lines
4.5 KiB
TOML
187 lines
4.5 KiB
TOML
[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/"},
|
||
{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"
|
||
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"
|
||
psycopg2-binary = "^2.9.6"
|
||
django-test-migrations = "^1.3.0"
|
||
factory-boy = "^3.2.1"
|
||
pytest-xdist = "^3.3.1"
|
||
|
||
[build-system]
|
||
requires = ["poetry-core"]
|
||
build-backend = "poetry.core.masonry.api"
|
||
|
||
[tool.pylint.MAIN]
|
||
load-plugins = [
|
||
"pylint_django",
|
||
"pylint.extensions.mccabe",
|
||
]
|
||
ignore = [
|
||
"migrations",
|
||
]
|
||
jobs = 0
|
||
django-settings-module = "notifications.settings"
|
||
fail-on=[
|
||
"useless-suppression",
|
||
]
|
||
|
||
[tool.pylint.DESIGN]
|
||
max-locals = 20
|
||
max-args = 10
|
||
max-parents = 10
|
||
|
||
[tool.pylint.'MESSAGES CONTROL']
|
||
enable = [
|
||
"useless-suppression",
|
||
]
|
||
disable = [
|
||
"missing-function-docstring",
|
||
"missing-class-docstring",
|
||
"missing-module-docstring",
|
||
"fixme",
|
||
]
|
||
|
||
[tool.pylint.FORMAT]
|
||
max-line-length = 120
|
||
|
||
|
||
[tool.black]
|
||
line-length = 120
|
||
|
||
[tool.isort]
|
||
profile = "black"
|
||
|
||
[tool.bandit]
|
||
exclude_dirs = [
|
||
"notifications/tests",
|
||
]
|
||
|
||
[tool.bandit.assert_used]
|
||
skips = ["*test*.py"]
|
||
|
||
[tool.pytest.ini_options]
|
||
minversion = "7.0"
|
||
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",
|
||
]
|
||
DJANGO_SETTINGS_MODULE = "notifications.tests.settings_for_tests"
|
||
django_debug_mode = "keep"
|
||
|
||
[tool.coverage.run]
|
||
relative_files = true
|
||
parallel = true
|
||
branch = true
|