-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (100 loc) · 2.75 KB
/
Copy pathpyproject.toml
File metadata and controls
109 lines (100 loc) · 2.75 KB
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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "marketing-engine"
version = "0.0.1"
description = "Marketing Engine - Lightweight Marketing Control Center & CRM Integration"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Idea Bosque", email = "ideabosque@gmail.com"}
]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"graphene",
"promise",
"SilvaEngine-DynamoDB-Base",
"SilvaEngine-Utility",
"requests>=2.28",
"pendulum>=2.1",
"apscheduler>=3.10",
]
[project.optional-dependencies]
postgresql = [
"SQLAlchemy>=1.4",
"psycopg2-binary>=2.9",
"alembic>=1.10",
]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"black>=23.0",
"flake8>=6.0",
"mypy>=1.0",
]
test = [
"pytest>=7.0",
"pytest-cov>=4.0",
"python-dotenv>=1.0",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["marketing_engine*"]
exclude = ["tests*", "*.tests*"]
[tool.setuptools.package-data]
marketing_engine = ["py.typed"]
[tool.black]
line-length = 88
target-version = ["py310", "py311", "py312"]
include = '\.pyi?$'
[tool.pytest.ini_options]
testpaths = ["marketing_engine/tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
addopts = "-v --strict-markers --tb=short --color=yes"
markers = [
"unit: Unit tests that don't require external dependencies",
"integration: Integration tests that require external services (DB, API, etc.)",
"slow: Tests that take significant time to run",
"skip: Tests that are temporarily disabled",
]
log_cli = true
log_cli_level = "INFO"
log_cli_format = "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
filterwarnings = [
"error",
"ignore::UserWarning",
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
]
minversion = "7.0"
console_output_style = "progress"
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
[tool.pyright]
typeCheckingMode = "basic"
reportCallIssue = "none"
reportArgumentType = "none"
reportArgumentTypeIssues = "none"
reportRedeclaration = "none"
reportOptionalMemberAccess = "none"
reportAttributeAccessIssue = "none"
reportSelfClsParameterName = "none"