Skip to content

Commit

Permalink
Merge branch 'renovate/beanie-1.x-lockfile' of https://github.com/Ved…
Browse files Browse the repository at this point in the history
…aWebProject/Tekst into renovate/beanie-1.x-lockfile
  • Loading branch information
bkis committed Oct 21, 2024
2 parents 71a8430 + 63545a1 commit ad95da6
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 23 deletions.
40 changes: 20 additions & 20 deletions Tekst-API/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Tekst-API/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ colorlog = "^6.7.0"
pytest-dotenv = "^0.5.2"
httpx = "^0.27.0"
asgi-lifespan = "^2.1.0"
ruff = "^0.6.0"
ruff = "^0.7.0"
pytest-env = "^1.1.1"

[tool.ruff]
Expand Down
2 changes: 1 addition & 1 deletion Tekst-API/tekst/routers/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ async def download_resource_template(
]

# create temporary file and stream it as a file response
tempfile = NamedTemporaryFile(mode="w")
tempfile = NamedTemporaryFile(mode="w") # noqa: SIM115 (intentional)
tempfile.write(json.dumps(template, indent=2, sort_keys=True))
tempfile.flush()

Expand Down
2 changes: 1 addition & 1 deletion Tekst-API/tekst/routers/texts.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ async def download_structure_template(
)

# create temporary file and stream it as a file response
tempfile = NamedTemporaryFile(mode="w")
tempfile = NamedTemporaryFile(mode="w") # noqa: SIM115 (intentional)
tempfile.write(json_str)
tempfile.flush()
# prepare headers ... according to
Expand Down

0 comments on commit ad95da6

Please sign in to comment.