anaplan-sdk 0.4.3a2__tar.gz → 0.4.4a1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/PKG-INFO +1 -1
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/_oauth.py +6 -6
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/pyproject.toml +101 -101
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/uv.lock +1164 -1164
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/.github/dependabot.yml +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/.github/workflows/docs.yml +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/.github/workflows/lint.yml +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/.github/workflows/tests.yml +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/.gitignore +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/.pre-commit-config.yaml +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/LICENSE +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/README.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/__init__.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/_async_clients/__init__.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/_async_clients/_alm.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/_async_clients/_audit.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/_async_clients/_bulk.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/_async_clients/_cloud_works.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/_async_clients/_cw_flow.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/_async_clients/_transactional.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/_auth.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/_base.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/_clients/__init__.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/_clients/_alm.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/_clients/_audit.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/_clients/_bulk.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/_clients/_cloud_works.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/_clients/_cw_flow.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/_clients/_transactional.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/exceptions.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/models/__init__.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/models/_alm.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/models/_base.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/models/_bulk.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/models/_transactional.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/models/cloud_works.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/anaplan_sdk/models/flows.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/anaplan_explained.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/async/async_alm_client.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/async/async_audit_client.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/async/async_client.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/async/async_cw_client.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/async/async_flows_client.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/async/async_oauth_client.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/async/async_transactional_client.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/exceptions.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/models/alm.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/models/bulk.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/models/cloud_works.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/models/flows.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/models/transactional.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/sync/sync_alm_client.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/sync/sync_audit_client.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/sync/sync_client.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/sync/sync_cw_client.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/sync/sync_flows_client.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/sync/sync_oauth_client.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/api/sync/sync_transactional_client.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/assets/overview.html +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/css/styles.css +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/guides/alm.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/guides/audit.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/guides/authentication.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/guides/bulk.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/guides/bulk_vs_transactional.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/guides/cloud_works.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/guides/index.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/guides/logging.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/guides/multiple_models.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/guides/transactional.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/img/anaplan-sdk.webp +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/index.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/installation.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/js/assets/hljs.js +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/js/assets/hljs.min.js +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/js/assets/python.js +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/js/assets/python.min.js +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/js/highlight.js +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/js/highlight.min.js +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/docs/quickstart.md +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/mkdocs.yml +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/tests/async/conftest.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/tests/async/test_async_alm_client.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/tests/async/test_async_audit_client.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/tests/async/test_async_client.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/tests/async/test_async_cloud_works_client.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/tests/async/test_async_flows_client.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/tests/async/test_async_transactional_client.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/tests/conftest.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/tests/sync/conftest.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/tests/sync/test_alm_client.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/tests/sync/test_audit_client.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/tests/sync/test_client.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/tests/sync/test_cloud_works_client.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/tests/sync/test_flows_client.py +0 -0
- {anaplan_sdk-0.4.3a2 → anaplan_sdk-0.4.4a1}/tests/sync/test_transactional_client.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: anaplan-sdk
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.4a1
|
4
4
|
Summary: Streamlined Python Interface for Anaplan
|
5
5
|
Project-URL: Homepage, https://vinzenzklass.github.io/anaplan-sdk/
|
6
6
|
Project-URL: Repository, https://github.com/VinzenzKlass/anaplan-sdk
|
@@ -133,7 +133,7 @@ class AsyncOauth(_BaseOauth):
|
|
133
133
|
Applications.
|
134
134
|
"""
|
135
135
|
|
136
|
-
async def fetch_token(self, authorization_response: str) -> dict[str, str]:
|
136
|
+
async def fetch_token(self, authorization_response: str) -> dict[str, str | int]:
|
137
137
|
"""
|
138
138
|
Fetches the token using the authorization response from the OAuth 2.0 flow.
|
139
139
|
:param authorization_response: The full URL that the user was redirected to after
|
@@ -151,7 +151,7 @@ class AsyncOauth(_BaseOauth):
|
|
151
151
|
logger.error(error)
|
152
152
|
raise AnaplanException("Error during token creation.") from error
|
153
153
|
|
154
|
-
async def validate_token(self, token: str) -> dict[str, str | dict[str, str]]:
|
154
|
+
async def validate_token(self, token: str) -> dict[str, str | dict[str, str | int]]:
|
155
155
|
"""
|
156
156
|
Validates the provided token by checking its validity with the Anaplan Authentication API.
|
157
157
|
If the token is not valid, an `InvalidCredentialsException` is raised.
|
@@ -168,7 +168,7 @@ class AsyncOauth(_BaseOauth):
|
|
168
168
|
logger.error(error)
|
169
169
|
raise AnaplanException("Error during token validation.") from error
|
170
170
|
|
171
|
-
async def refresh_token(self, refresh_token: str) -> dict[str, str]:
|
171
|
+
async def refresh_token(self, refresh_token: str) -> dict[str, str | int]:
|
172
172
|
"""
|
173
173
|
Refreshes the token using a refresh token.
|
174
174
|
:param refresh_token: The refresh token to use for refreshing the access token.
|
@@ -192,7 +192,7 @@ class Oauth(_BaseOauth):
|
|
192
192
|
Applications.
|
193
193
|
"""
|
194
194
|
|
195
|
-
def fetch_token(self, authorization_response: str) -> dict[str, str]:
|
195
|
+
def fetch_token(self, authorization_response: str) -> dict[str, str | int]:
|
196
196
|
"""
|
197
197
|
Fetches the token using the authorization response from the OAuth 2.0 flow.
|
198
198
|
:param authorization_response: The full URL that the user was redirected to after
|
@@ -216,7 +216,7 @@ class Oauth(_BaseOauth):
|
|
216
216
|
logger.error(error)
|
217
217
|
raise AnaplanException("Error during token creation.") from error
|
218
218
|
|
219
|
-
def validate_token(self, token: str) -> dict[str, str | dict[str, str]]:
|
219
|
+
def validate_token(self, token: str) -> dict[str, str | dict[str, str | int]]:
|
220
220
|
"""
|
221
221
|
Validates the provided token by checking its validity with the Anaplan Authentication API.
|
222
222
|
If the token is not valid, an `InvalidCredentialsException` is raised.
|
@@ -233,7 +233,7 @@ class Oauth(_BaseOauth):
|
|
233
233
|
logger.error(error)
|
234
234
|
raise AnaplanException("Error during token validation.") from error
|
235
235
|
|
236
|
-
def refresh_token(self, refresh_token: str) -> dict[str, str]:
|
236
|
+
def refresh_token(self, refresh_token: str) -> dict[str, str | int]:
|
237
237
|
"""
|
238
238
|
Refreshes the token using a refresh token.
|
239
239
|
:param refresh_token: The refresh token to use for refreshing the access token.
|
@@ -1,101 +1,101 @@
|
|
1
|
-
[project]
|
2
|
-
name = "anaplan-sdk"
|
3
|
-
version = "0.4.
|
4
|
-
description = "Streamlined Python Interface for Anaplan"
|
5
|
-
license = "Apache-2.0"
|
6
|
-
authors = [{ name = "Vinzenz Klass", email = "vinzenz.klass@valantic.com" }]
|
7
|
-
readme = "README.md"
|
8
|
-
keywords = [
|
9
|
-
"anaplan",
|
10
|
-
"anaplan api",
|
11
|
-
"anaplan sdk",
|
12
|
-
"anaplan bulk api",
|
13
|
-
"anaplan integration",
|
14
|
-
"anaplan integration api",
|
15
|
-
"anaplan alm api",
|
16
|
-
"anaplan audit api",
|
17
|
-
"anaplan cloudworks api",
|
18
|
-
"anaplan transactional api",
|
19
|
-
]
|
20
|
-
requires-python = ">=3.10.4"
|
21
|
-
dependencies = [
|
22
|
-
"pydantic>=2.7.2,<3.0.0",
|
23
|
-
"httpx>=0.27.0,<1.0.0",
|
24
|
-
]
|
25
|
-
|
26
|
-
[project.optional-dependencies]
|
27
|
-
cert = ["cryptography>=42.0.7,<46.0.0"]
|
28
|
-
oauth = ["oauthlib>=3.0.0,<4.0.0"]
|
29
|
-
|
30
|
-
[dependency-groups]
|
31
|
-
dev = [
|
32
|
-
"ruff>=0.11.9",
|
33
|
-
"pre-commit>=4.2.0",
|
34
|
-
"pytest>=8.3.5",
|
35
|
-
"pytest-asyncio>=0.26.0",
|
36
|
-
"pytest-xdist>=3.6.1",
|
37
|
-
"mkdocs>=1.6.1",
|
38
|
-
"mkdocs-material>=9.5.41",
|
39
|
-
"mkdocstrings[python]>=0.26.2",
|
40
|
-
"griffe-fieldz>=0.2.1",
|
41
|
-
"oauthlib>=3.2.2",
|
42
|
-
"cryptography>=45.0.0",
|
43
|
-
]
|
44
|
-
|
45
|
-
[project.urls]
|
46
|
-
Homepage = "https://vinzenzklass.github.io/anaplan-sdk/"
|
47
|
-
Repository = "https://github.com/VinzenzKlass/anaplan-sdk"
|
48
|
-
Documentation = "https://vinzenzklass.github.io/anaplan-sdk/"
|
49
|
-
|
50
|
-
[build-system]
|
51
|
-
requires = ["hatchling"]
|
52
|
-
build-backend = "hatchling.build"
|
53
|
-
|
54
|
-
[tool.ruff]
|
55
|
-
exclude = [
|
56
|
-
".bzr",
|
57
|
-
".direnv",
|
58
|
-
".eggs",
|
59
|
-
".git",
|
60
|
-
".git-rewrite",
|
61
|
-
".hg",
|
62
|
-
".ipynb_checkpoints",
|
63
|
-
".mypy_cache",
|
64
|
-
".nox",
|
65
|
-
".pants.d",
|
66
|
-
".pyenv",
|
67
|
-
".pytest_cache",
|
68
|
-
".pytype",
|
69
|
-
".ruff_cache",
|
70
|
-
".svn",
|
71
|
-
".tox",
|
72
|
-
".venv",
|
73
|
-
".vscode",
|
74
|
-
"__pypackages__",
|
75
|
-
"_build",
|
76
|
-
"buck-out",
|
77
|
-
"build",
|
78
|
-
"dist",
|
79
|
-
"node_modules",
|
80
|
-
"site-packages",
|
81
|
-
"venv",
|
82
|
-
]
|
83
|
-
|
84
|
-
line-length = 100
|
85
|
-
fix = true
|
86
|
-
target-version = "py313"
|
87
|
-
|
88
|
-
[tool.ruff.format]
|
89
|
-
skip-magic-trailing-comma = true
|
90
|
-
|
91
|
-
[tool.ruff.lint]
|
92
|
-
select = ["E", "F", "B", "I"]
|
93
|
-
|
94
|
-
[tool.pytest.ini_options]
|
95
|
-
asyncio_mode = "auto"
|
96
|
-
asyncio_default_fixture_loop_scope = "session"
|
97
|
-
asyncio_default_test_loop_scope = "session"
|
98
|
-
minversion = "8.0"
|
99
|
-
addopts = "-ra -q"
|
100
|
-
pythonpath = "anaplan_sdk/"
|
101
|
-
testpaths = ["tests"]
|
1
|
+
[project]
|
2
|
+
name = "anaplan-sdk"
|
3
|
+
version = "0.4.4a1"
|
4
|
+
description = "Streamlined Python Interface for Anaplan"
|
5
|
+
license = "Apache-2.0"
|
6
|
+
authors = [{ name = "Vinzenz Klass", email = "vinzenz.klass@valantic.com" }]
|
7
|
+
readme = "README.md"
|
8
|
+
keywords = [
|
9
|
+
"anaplan",
|
10
|
+
"anaplan api",
|
11
|
+
"anaplan sdk",
|
12
|
+
"anaplan bulk api",
|
13
|
+
"anaplan integration",
|
14
|
+
"anaplan integration api",
|
15
|
+
"anaplan alm api",
|
16
|
+
"anaplan audit api",
|
17
|
+
"anaplan cloudworks api",
|
18
|
+
"anaplan transactional api",
|
19
|
+
]
|
20
|
+
requires-python = ">=3.10.4"
|
21
|
+
dependencies = [
|
22
|
+
"pydantic>=2.7.2,<3.0.0",
|
23
|
+
"httpx>=0.27.0,<1.0.0",
|
24
|
+
]
|
25
|
+
|
26
|
+
[project.optional-dependencies]
|
27
|
+
cert = ["cryptography>=42.0.7,<46.0.0"]
|
28
|
+
oauth = ["oauthlib>=3.0.0,<4.0.0"]
|
29
|
+
|
30
|
+
[dependency-groups]
|
31
|
+
dev = [
|
32
|
+
"ruff>=0.11.9",
|
33
|
+
"pre-commit>=4.2.0",
|
34
|
+
"pytest>=8.3.5",
|
35
|
+
"pytest-asyncio>=0.26.0",
|
36
|
+
"pytest-xdist>=3.6.1",
|
37
|
+
"mkdocs>=1.6.1",
|
38
|
+
"mkdocs-material>=9.5.41",
|
39
|
+
"mkdocstrings[python]>=0.26.2",
|
40
|
+
"griffe-fieldz>=0.2.1",
|
41
|
+
"oauthlib>=3.2.2",
|
42
|
+
"cryptography>=45.0.0",
|
43
|
+
]
|
44
|
+
|
45
|
+
[project.urls]
|
46
|
+
Homepage = "https://vinzenzklass.github.io/anaplan-sdk/"
|
47
|
+
Repository = "https://github.com/VinzenzKlass/anaplan-sdk"
|
48
|
+
Documentation = "https://vinzenzklass.github.io/anaplan-sdk/"
|
49
|
+
|
50
|
+
[build-system]
|
51
|
+
requires = ["hatchling"]
|
52
|
+
build-backend = "hatchling.build"
|
53
|
+
|
54
|
+
[tool.ruff]
|
55
|
+
exclude = [
|
56
|
+
".bzr",
|
57
|
+
".direnv",
|
58
|
+
".eggs",
|
59
|
+
".git",
|
60
|
+
".git-rewrite",
|
61
|
+
".hg",
|
62
|
+
".ipynb_checkpoints",
|
63
|
+
".mypy_cache",
|
64
|
+
".nox",
|
65
|
+
".pants.d",
|
66
|
+
".pyenv",
|
67
|
+
".pytest_cache",
|
68
|
+
".pytype",
|
69
|
+
".ruff_cache",
|
70
|
+
".svn",
|
71
|
+
".tox",
|
72
|
+
".venv",
|
73
|
+
".vscode",
|
74
|
+
"__pypackages__",
|
75
|
+
"_build",
|
76
|
+
"buck-out",
|
77
|
+
"build",
|
78
|
+
"dist",
|
79
|
+
"node_modules",
|
80
|
+
"site-packages",
|
81
|
+
"venv",
|
82
|
+
]
|
83
|
+
|
84
|
+
line-length = 100
|
85
|
+
fix = true
|
86
|
+
target-version = "py313"
|
87
|
+
|
88
|
+
[tool.ruff.format]
|
89
|
+
skip-magic-trailing-comma = true
|
90
|
+
|
91
|
+
[tool.ruff.lint]
|
92
|
+
select = ["E", "F", "B", "I"]
|
93
|
+
|
94
|
+
[tool.pytest.ini_options]
|
95
|
+
asyncio_mode = "auto"
|
96
|
+
asyncio_default_fixture_loop_scope = "session"
|
97
|
+
asyncio_default_test_loop_scope = "session"
|
98
|
+
minversion = "8.0"
|
99
|
+
addopts = "-ra -q"
|
100
|
+
pythonpath = "anaplan_sdk/"
|
101
|
+
testpaths = ["tests"]
|