Skip to content

Commit f515fea

Browse files
[pre-commit.ci] pre-commit autoupdate (#21)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: jaimergp <[email protected]>
1 parent c958e99 commit f515fea

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616
# catch git merge/rebase problems
1717
- id: check-merge-conflict
1818
- repo: https://github.com/astral-sh/ruff-pre-commit
19-
rev: v0.8.4
19+
rev: v0.9.3
2020
hooks:
2121
# lint & attempt to correct failures (e.g. pyupgrade)
2222
- id: ruff

conda_metadata_app/pages/main_page.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ def disable_button(query):
10981098
patched_data = {}
10991099
yanked = _is_broken(package_name, subdir, version, build, extension, channel)
11001100

1101-
st.markdown(f'## {"❌ " if yanked else ""}{data["name"]} {data["version"]}')
1101+
st.markdown(f"## {'❌ ' if yanked else ''}{data['name']} {data['version']}")
11021102
if yanked:
11031103
st.error("This artifact has been removed from the index and is only available via URL.")
11041104
about = data.get("about") or data.get("rendered_recipe", {}).get("about", {})
@@ -1132,7 +1132,7 @@ def disable_button(query):
11321132
download = f"[artifact download]({_download_url})"
11331133
maintainers = []
11341134
if recipe := data.get("rendered_recipe", {}).get("recipe"): # recipe.yaml
1135-
recipe_format = f"recipe.yaml v{recipe.get("schema_version", 1)}"
1135+
recipe_format = f"recipe.yaml v{recipe.get('schema_version', 1)}"
11361136
rattler_build_version = (
11371137
data.get("rendered_recipe").get("system_tools").get("rattler-build", "")
11381138
)

0 commit comments

Comments
 (0)