Skip to content

Conversation

jakebailey
Copy link
Member

@jakebailey jakebailey commented Oct 22, 2025

In modifying #1911, I mistakenly forgot to ensure that this regex matched os itself, and not just os/.

@Copilot Copilot AI review requested due to automatic review settings October 22, 2025 17:08
Copy link
Contributor

@Copilot 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 PR fixes a regular expression pattern in the linting configuration to properly forbid imports of the os package. The previous pattern only matched os/ subdirectories but missed the base os package itself.

Key Changes:

  • Updated the regex pattern from ^os/ to ^os(/|$) to match both the os package and its subdirectories

@jakebailey jakebailey added this pull request to the merge queue Oct 22, 2025
Merged via the queue into main with commit 80cbbd9 Oct 22, 2025
22 checks passed
@jakebailey jakebailey deleted the jabaile/fix-forbidigo-0os branch October 22, 2025 19:27
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.

2 participants