Skip to content

Conversation

@pontemonti
Copy link
Contributor

@pontemonti pontemonti commented Jan 23, 2026

Linting errors were being ignored due to continue-on-error being set to true for the linting step of the PR workflow.

When correcting that, we discovered a number of issues.

  • Issues that could be auto-fixed were.
  • Issues that Claude could fix were fixed by Claude.

The format of copyright headers was a known issue - pyproject.toml was specifying the old format while CLAUDE.md had the correct format. When fixing pyproject.toml, we saw some errors related to copyright headers - less than 20 files that needed fixing. However, Claude had mentioned there were over 100 files that needed changing. With some additional prompting, we found issues with how the linting was invoked - led to a fix to the PR workflow - as well as missing information in the package-specific pyproject.toml files. After fixing those things we were able to run linting correctly and we fixed all the copyright headers.

@pontemonti pontemonti requested a review from a team as a code owner January 23, 2026 23:38
Copilot AI review requested due to automatic review settings January 23, 2026 23:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request updates the copyright notice regex pattern in the Ruff linter configuration to match the specification documented in CLAUDE.md. The change enforces the two-line Microsoft MIT License copyright header format instead of the previous single-line "All rights reserved" format.

Changes:

  • Updated notice-rgx pattern in [tool.ruff.lint.flake8-copyright] to match the two-line copyright header format specified in CLAUDE.md
  • Updated the configuration comment to reference the CLAUDE.md specification

@pontemonti pontemonti requested a review from a team as a code owner January 24, 2026 00:03
Copilot AI review requested due to automatic review settings January 24, 2026 03:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 39 out of 39 changed files in this pull request and generated 11 comments.

Copilot AI review requested due to automatic review settings January 24, 2026 04:44
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 107 out of 107 changed files in this pull request and generated 1 comment.

@pontemonti pontemonti requested review from Copilot January 24, 2026 04:54
@pontemonti pontemonti changed the title Update copyright notice regex to match CLAUDE.md specification Enforce linting and fix all existing errors. Jan 24, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 107 out of 107 changed files in this pull request and generated no new comments.

@pontemonti pontemonti enabled auto-merge (squash) January 24, 2026 05:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@mengyimicro mengyimicro disabled auto-merge January 24, 2026 06:28
@mengyimicro mengyimicro enabled auto-merge (squash) January 24, 2026 06:28
@mengyimicro mengyimicro merged commit 25f7c6d into main Jan 24, 2026
18 checks passed
@mengyimicro mengyimicro deleted the users/johanb/FixCopyrightRule branch January 24, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants