Skip to content

Exclude the Python-2 stdlib from the flake8 CI check - #7569

Merged
AlexWaygood merged 1 commit into
masterfrom
AlexWaygood-patch-1
Mar 31, 2022
Merged

AlexWaygood merged 1 commit into
masterfrom
AlexWaygood-patch-1

Conversation

@AlexWaygood

Copy link
Copy Markdown
Member

We should hopefully be getting rid of this entire subdirectory soon anyway (#7367). This will make PRs to flake8-pyi a lot easier.

We should hopefully be getting rid of this entire subdirectory soon anyway (#7367). This will make PRs to flake8-pyi a lot easier.
@AlexWaygood AlexWaygood changed the title Exclude the Python-2 stdlib from flake8 CI check Exclude the Python-2 stdlib from the flake8 CI check Mar 31, 2022
@AlexWaygood
AlexWaygood merged commit 85f060b into master Mar 31, 2022
@AlexWaygood
AlexWaygood deleted the AlexWaygood-patch-1 branch March 31, 2022 22:35
Comment thread .flake8
stdlib/typing.pyi: E301, E302, E305, E501, E701, E741, F401, F403, F405, F811, F822, Y026, Y034

# We are checking with Python 3 but many of the stubs are Python 2 stubs.
builtins = buffer,file,long,raw_input,unicode,xrange

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We can probably get rid of this line too

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Oh, good point.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

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.

3 participants