Skip to content

Ignore I300 and I301 - #327

Open
mshafer-NI wants to merge 2 commits into
ni:mainfrom
mshafer-NI:dev/ignore_new_codes_that_fight_with_black
Open

Ignore I300 and I301#327
mshafer-NI wants to merge 2 commits into
ni:mainfrom
mshafer-NI:dev/ignore_new_codes_that_fight_with_black

Conversation

@mshafer-NI

@mshafer-NI mshafer-NI commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

flake8-import-order recently added I300 and has I301 proposed.

I300 is

TYPE_CHECKING block should have one newline above

I301 will probably be

TYPE_CHECKING block should have no more than one newline above

 

Both of these code conflict with our chosen formatting layout standard of black.

So ignore both in favor of BLK100

@github-actions

Copy link
Copy Markdown
Contributor

Thank you for contributing! 👋

@bkeryan bkeryan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good to me, but consider including the warning text in a comment or at least the PR description

Comment thread ni_python_styleguide/config.ini
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