Skip to content

Commit 79feb13

Browse files
committed
Avoid an unnecessary ruff fix (which is unstable)
1 parent 7dafe7c commit 79feb13

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

openapi_python_client/templates/endpoint_macros.py.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ headers = {}
1818
{% endmacro %}
1919

2020
{% macro cookie_params(endpoint) %}
21-
cookies = {}
2221
{% if endpoint.cookie_parameters %}
22+
cookies = {}
2323
{% for parameter in endpoint.cookie_parameters.values() %}
2424
{% if parameter.required %}
2525
cookies["{{ parameter.name}}"] = {{ parameter.python_name }}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ attrs = ">=21.3.0"
3030
python-dateutil = "^2.8.1"
3131
httpx = ">=0.20.0,<0.26.0"
3232
PyYAML = "^6.0"
33-
ruff = "^0.0.292 || ^0.1.0"
33+
ruff = "^0.1.0"
3434
typing-extensions = "^4.8.0"
3535

3636
[tool.poetry.scripts]

0 commit comments

Comments
 (0)