forked from novuhq/novu-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
110 lines (92 loc) · 2.55 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[tool.poetry]
description = "This project aims to provide a wrapper for the Novu API."
keywords = ["novu", "python", "sdk", "api", "wrapper"]
name = "novu"
version = "1.3.0"
documentation = "https://novu-python.readthedocs.io/en/latest"
homepage = "https://novu-python.readthedocs.io/en/latest"
repository = "https://github.com/novuhq/novu-python"
authors = ["oscar.marie-taillefer <[email protected]>"]
maintainers = ["oscar.marie-taillefer <[email protected]>"]
license = "MIT"
packages = [{include = "novu"}]
readme = "README.md"
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development",
"Typing :: Typed",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
]
[tool.poetry.urls]
"Changelog" = "https://github.com/novuhq/novu-python/blob/main/CHANGELOG.md"
"Tracker" = "https://github.com/novuhq/novu-python/issues"
[tool.poetry.dependencies]
python = "^3.8"
requests = "^2.28.2"
[tool.poetry.group.dev.dependencies]
bandit = "^1.7.4"
black = "^23.0.0"
coverage = "^7.0.4"
mypy = "^1.1"
pre-commit = "^2.21.0"
pylama = "^8.4.1"
pylint = "^2.15.9"
pytest = "^7.2.0"
sentry-sdk = "^1.14.0"
toml = "^0.10.2"
types-requests = "^2.28.11.12"
[tool.poetry.group.docs.dependencies]
Sphinx = "^6.1"
m2r2 = "^0.3"
sphinx-rtd-theme = "^1.2"
sphinxcontrib-httpdomain = "^1.8"
sphinxcontrib-mermaid = "^0.8"
[tool.bandit]
targets = ["novu"]
[tool.black]
exclude = '''
(
/(
\.git
|\.tox
|migrations
)/
)
'''
include = '\.pyi?$'
line-length = 120
[tool.mypy]
modules = "novu"
python_version = "3.8"
[tool.pylama]
format = "pycodestyle"
linters = "pycodestyle,pyflakes,pylint"
max_line_length = 120
skip = ".pytest_cache,.venv/*,tests/*,*/tests/*,docs/*"
[tool.pylama.linter.pycodestyle]
max_line_length = 120
[tool.pylama.linter.pylint]
disable = "W0212,W0511,R0913"
# Ignored rules:
# - W0212: access-protected-member
# - W0511: fixme, todo
# - R0913: too-many-arguments
[tool.coverage.run]
branch = true
command_line = "-m pytest"
omit = ["tests/*", "novu/enums/polyfill.py"]
relative_files = true
source = ["novu"]
[tool.coverage.report]
fail_under = 100
[tool.pytest.ini_options]
testpaths = "tests/"
# addopts = "--doctest-modules -ra -l --tb=short --show-capture=all --color=yes"