Skip to content
Draft
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
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exclude: "ui\/.*py$"
# List of super useful formatters.
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v6.0.0
hooks:
# Ensures the code is syntaxically correct
- id: check-ast
Expand All @@ -35,7 +35,7 @@ repos:
- id: trailing-whitespace
# Leave black at the bottom so all touchups are done before it is run.
- repo: https://github.com/ambv/black
rev: 22.3.0
rev: 26.1.0
hooks:
- id: black
language_version: python3
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[![VFX Platform](https://img.shields.io/badge/vfxplatform-2025%20%7C%202024%20%7C%202023%20%7C%202022-blue.svg)](http://www.vfxplatform.com/)
[![Python](https://img.shields.io/badge/python-3.11%20%7C%203.10%20%7C%203.9-blue.svg)](https://www.python.org/)
[![Supported VFX Platform: CY2022 - CY2026](https://img.shields.io/badge/VFX_Reference_Platform-CY2022_|_CY2023_|_CY2024_|_CY2025_|_CY2026-blue)](http://www.vfxplatform.com/ "Supported VFX Reference Platform versions")
[![Supported Python versions: 3.9, 3.10, 3.11, 3.13](https://img.shields.io/badge/Python-3.9_|_3.10_|_3.11_|_3.13-blue?logo=python&logoColor=f5f5f5)](https://www.python.org/ "Supported Python versions")

[![Build Status](https://dev.azure.com/shotgun-ecosystem/Toolkit/_apis/build/status/Apps/tk-multi-breakdown?branchName=master)](https://dev.azure.com/shotgun-ecosystem/Toolkit/_build/latest?definitionId=52&branchName=master)
[![codecov](https://codecov.io/gh/shotgunsoftware/tk-multi-breakdown/branch/master/graph/badge.svg)](https://codecov.io/gh/shotgunsoftware/tk-multi-breakdown)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ resources:
- repository: templates
type: github
name: shotgunsoftware/tk-ci-tools
ref: refs/heads/master
ref: refs/heads/ticket/SG-40980-python-3-13-ci
endpoint: shotgunsoftware

# We want builds to trigger for 3 reasons:
Expand Down
2 changes: 1 addition & 1 deletion python/tk_multi_breakdown/breakdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def get_breakdown_items():
sg_data = sgtk.util.find_publish(app.sgtk, paths_to_fetch, fields=fields)

# process and cache shotgun items
for (path, sg_chunk) in sg_data.items():
for path, sg_chunk in sg_data.items():
# cache item
g_cached_sg_publish_data[path] = sg_chunk

Expand Down
3 changes: 1 addition & 2 deletions python/tk_multi_breakdown/scene_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from sgtk.platform.qt import QtCore
from . import breakdown


browser_widget = sgtk.platform.import_framework("tk-framework-widget", "browser_widget")
shotgun_globals = sgtk.platform.import_framework(
"tk-framework-shotgunutils", "shotgun_globals"
Expand Down Expand Up @@ -171,7 +170,7 @@ def process_result(self, result):
# todo: make this more generic?
relevant_fields = ["Shot", "Asset", "Step", "Sequence", "name"]

for (k, v) in d["fields"].items():
for k, v in d["fields"].items():
# only show relevant fields - a bit of a hack
if k in relevant_fields:
details.append(self._make_row(k, v))
Expand Down