Skip to content

Commit 0dabf8d

Browse files
committed
some deps
1 parent 92b59a6 commit 0dabf8d

File tree

9 files changed

+63
-381
lines changed

9 files changed

+63
-381
lines changed

clients/algoliasearch-client-javascript/yarn.lock

Lines changed: 50 additions & 370 deletions
Large diffs are not rendered by default.

clients/algoliasearch-client-python/algoliasearch/http/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def __init__(
139139

140140
def __str__(self):
141141
"""Custom error messages for exception"""
142-
error_message = "({0})\n" "Reason: {1}\n".format(
142+
error_message = "({0})\nReason: {1}\n".format(
143143
self.status_code, self.error_message
144144
)
145145

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"eslint-plugin-yml": "1.16.0",
4040
"husky": "9.1.7",
4141
"lint-staged": "15.3.0",
42-
"oxlint": "0.11.1",
42+
"oxlint": "0.15.6",
4343
"prettier": "3.4.2",
4444
"prettier-plugin-java": "2.6.6",
4545
"prettier-plugin-organize-imports": "4.1.0",

playground/python/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ repository = "https://github.com/algolia/api-clients-automation"
1111
[tool.poetry.dependencies]
1212
python = ">= 3.8.1"
1313
algoliasearch = { path = "../../clients/algoliasearch-client-python", develop = true }
14-
ruff = "== 0.7.4"
15-
pyright = "== 1.1.389"
14+
ruff = "== 0.9.1"
15+
pyright = "== 1.1.391"
1616
python-dotenv = "== 1.0.1"
1717

1818
[tool.poetry.scripts]

scripts/formatter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export async function formatter(language: string, cwd: string): Promise<void> {
3838
break;
3939
case 'javascript':
4040
await run(
41-
`yarn oxlint -c ${toAbsolutePath('oxlintrc.json')} --fix --fix-suggestions --fix-dangerously --disable-react-plugin --promise-plugin --node-plugin --security-plugin --import-plugin ${cwd} && yarn prettier --write ${cwd} --ignore-path=${toAbsolutePath('.prettierignore')} && yarn eslint --ext=json ${cwd} --fix --no-error-on-unmatched-pattern`,
41+
`yarn oxlint -c ${toAbsolutePath('oxlintrc.json')} --fix --fix-suggestions --fix-dangerously --disable-react-plugin --promise-plugin --node-plugin --import-plugin ${cwd} && yarn prettier --write ${cwd} --ignore-path=${toAbsolutePath('.prettierignore')} && yarn eslint --ext=json ${cwd} --fix --no-error-on-unmatched-pattern`,
4242
{ language },
4343
);
4444
break;

templates/javascript/clients/client/builds/definition.mustache

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ export {
2727
export * from '../model';
2828

2929
{{#isSearchClient}}
30+
{{^isAlgoliasearchClient}}
3031
import type { GenerateSecuredApiKeyOptions, GetSecuredApiKeyRemainingValidityOptions, SearchClientNodeHelpers } from '../model';
32+
{{/isAlgoliasearchClient}}
3133
{{/isSearchClient}}
3234

3335
export function {{clientName}}(

templates/python/pyproject.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ async-timeout = ">= 4.0.3"
2323
pydantic = ">= 2"
2424

2525
[tool.poetry.group.dev.dependencies]
26-
ruff = "== 0.7.4"
27-
pyright = "== 1.1.389"
26+
ruff = "== 0.9.1"
27+
pyright = "== 1.1.391"
2828

2929
[tool.ruff]
3030
line-length = 88

templates/python/snippets/pyproject.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ repository = "https://github.com/algolia/api-clients-automation"
1010
[tool.poetry.dependencies]
1111
python = "^3.8.1"
1212
algoliasearch = { path = "../../../clients/algoliasearch-client-python", develop = true }
13-
ruff = "== 0.7.4"
14-
pyright = "== 1.1.389"
13+
ruff = "== 0.9.1"
14+
pyright = "== 1.1.391"

tests/output/python/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ repository = "https://github.com/algolia/api-clients-automation"
1010
[tool.poetry.dependencies]
1111
python = "^3.8.1"
1212
algoliasearch = { path = "../../../clients/algoliasearch-client-python", develop = true }
13-
ruff = "== 0.7.4"
14-
pyright = "== 1.1.389"
13+
ruff = "== 0.9.1"
14+
pyright = "== 1.1.391"
1515
pytest = "=8.3.3"
1616
python-dotenv = "=1.0.1"
1717
pytest-aiohttp = "=1.0.5"

0 commit comments

Comments
 (0)