Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #21

Merged
merged 3 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repos:
# catch git merge/rebase problems
- id: check-merge-conflict
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
rev: v0.9.3
hooks:
# lint & attempt to correct failures (e.g. pyupgrade)
- id: ruff
Expand Down
4 changes: 2 additions & 2 deletions conda_metadata_app/pages/main_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ def disable_button(query):
patched_data = {}
yanked = _is_broken(package_name, subdir, version, build, extension, channel)

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