-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
139 lines (126 loc) · 3.67 KB
/
Copy pathpyproject.toml
File metadata and controls
139 lines (126 loc) · 3.67 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["python_alfresco_api"]
include = [
"examples/**/*",
"docs/**/*",
"config/**/*",
"tests/**/*",
"scripts/**/*"
]
[tool.hatch.build.targets.sdist]
include = [
"python_alfresco_api/",
"examples/**/*",
"docs/**/*",
"config/**/*",
"openapi/**/*",
"tests/**/*",
"scripts/**/*",
"requirements.txt",
"requirements-dev.txt",
"requirements-codegen.txt",
"README.md",
"LICENSE",
"CHANGELOG.md",
"MANIFEST.in",
"pyproject.toml",
".gitattributes",
"publish_to_pypi.py",
"run_tests.py",
"sample-dot-env.txt",
"setup.py",
]
[project]
name = "python-alfresco-api"
version = "1.1.5"
description = "Python Client for all Alfresco Content Services REST APIs, with Pydantic v2 Models, and Event Support"
authors = [
{name = "Steve Reiner", email = "example@example.com"}
]
readme = {file = "README.md", content-type = "text/markdown"}
license = {text = "Apache-2.0"}
requires-python = ">=3.10"
keywords = ["alfresco", "content-management", "rest-api", "ecm", "document-management"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Office/Business :: Office Suites",
]
dependencies = [
"httpx>=0.25.0",
"pydantic>=2.0.0",
"attrs>=23.1.0",
"python-dateutil>=2.8.0",
"typing-extensions>=4.7.0",
"PyYAML>=6.0",
"stomp.py>=8.1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"mypy>=1.5.0",
]
test = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-mock>=3.12.0",
"httpx>=0.25.0",
]
[project.urls]
Homepage = "https://github.com/stevereiner/python-alfresco-api"
Repository = "https://github.com/stevereiner/python-alfresco-api"
Documentation = "https://github.com/stevereiner/python-alfresco-api/docs"
"Bug Tracker" = "https://github.com/stevereiner/python-alfresco-api/issues"
[tool.black]
line-length = 100
target-version = ['py310']
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short --ignore=tests/test_event_detection.py --ignore=tests/test_event_gateway_comprehensive.py --ignore=tests/test_current_architecture.py --ignore=tests/test_enhanced_coverage.py --ignore=tests/test_mcp_integration.py --ignore=tests/test_event_community_enterprise.py --ignore=tests/test_integration_live_server.py"
markers = [
"event: marks tests as event system tests (may require ActiveMQ/Event Gateway)",
"integration: marks tests as integration tests requiring live Alfresco server",
"asyncio: marks tests as async tests",
]
[tool.coverage.run]
source = ["python_alfresco_api"]
omit = [
"tests/*",
"setup.py",
"python_alfresco_api/models/*",
"scripts/*",
"examples/*",
"publish_to_pypi.py",
"run_tests.py"
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
]