GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix issue with Python formatting and expand scope of python-tooling by jacknojo · Pull Request #21799 · github/codeql

Conversation

@jacknojo

@jacknojo jacknojo commented May 5, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

I changed some Python code in #21751. That code change was not run by the check-python-tooling workflow, because the triggers of that workflow does not include the Python script I changed. On an unrelated PR, it's now causing an error, see https://github.com/github/codeql/actions/runs/25377388307/job/74416070526?pr=21797#step:4:137.

  1. Expand the workflow to include all Python scripts of the models-as-data folder.
  2. Fix the issue in the Python script.
  3. Fix an issue in the mad_modelDiff workflow - I am not sure why that did not run on Move generated MaDs into modelgenerator/ #21751.

Assuming the CI uses the workflow definition of the PR branch, we should see the check passing here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Copilot AI review requested due to automatic review settings May 5, 2026 14:02
@jacknojo
jacknojo requested review from a team as code owners May 5, 2026 14:02
tausbn
tausbn previously approved these changes May 5, 2026
View reviewed changes

@tausbn tausbn left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Copilot started reviewing on behalf of jacknojo May 5, 2026 14:05
View session
Copilot AI reviewed May 5, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Python tooling workflow so changes to MaD (models-as-data) scripts are consistently checked, and adjusts a Python formatting change that was previously missed by CI.

Changes:

  • Expand python-tooling.yml path triggers to run on any misc/scripts/models-as-data/*.py changes.
  • Reformat a long os.path.join(...) call in generate_mad.py (intended to satisfy black formatting).
Show a summary per file
File Description
misc/scripts/models-as-data/generate_mad.py Adjusts line wrapping in a path construction to address black formatting.
.github/workflows/python-tooling.yml Broadens workflow triggers to include all Python scripts in misc/scripts/models-as-data/.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 1

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread misc/scripts/models-as-data/generate_mad.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@jacknojo
Fix issue with Python formatting and expand scope of python-tooling
ebc759d
@jacknojo
jacknojo dismissed tausbn’s stale review via ebc759d May 5, 2026 14:15
@jacknojo
jacknojo force-pushed the jacknojo/fix_python_formatting branch from 97d84d7 to ebc759d Compare May 5, 2026 14:15
tausbn
tausbn previously approved these changes May 5, 2026
View reviewed changes
BazookaMusic
BazookaMusic previously approved these changes May 5, 2026
View reviewed changes
@jacknojo
Fix path to generated models
52b02a0
@jacknojo
jacknojo dismissed stale reviews from BazookaMusic and tausbn via 52b02a0 May 6, 2026 06:39
@jacknojo
jacknojo requested review from BazookaMusic and tausbn May 6, 2026 07:26
owen-mc
owen-mc approved these changes May 6, 2026
View reviewed changes
@jacknojo
jacknojo merged commit 2d2b690 into main May 6, 2026
16 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@jacknojo
jacknojo deleted the jacknojo/fix_python_formatting branch May 6, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@owen-mc owen-mc owen-mc approved these changes
@tausbn tausbn Awaiting requested review from tausbn
@BazookaMusic BazookaMusic Awaiting requested review from BazookaMusic

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@jacknojo @tausbn @BazookaMusic @owen-mc
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.