Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flake8 typing import to the pre-commit configuration #1240

Merged
merged 2 commits into from
Nov 21, 2021

Conversation

Pierre-Sassoulas
Copy link
Member

Description

Add a typing check to pre-commit, also apply flake8 to more files.

Type of Changes

Type
✨ New feature
🔨 Refactoring

Related Issue

Should have helped for #1239, but did not.

@Pierre-Sassoulas Pierre-Sassoulas added the Maintenance Discussion or action around maintaining astroid or the dev workflow label Nov 12, 2021
@Pierre-Sassoulas Pierre-Sassoulas added this to the 2.8.6 milestone Nov 12, 2021
@Pierre-Sassoulas Pierre-Sassoulas modified the milestones: 2.8.6, 2.9.1 Nov 21, 2021
@Pierre-Sassoulas Pierre-Sassoulas merged commit 3879acf into main Nov 21, 2021
@Pierre-Sassoulas Pierre-Sassoulas deleted the add-flake8-typing-import branch November 21, 2021 19:08
@cdce8p
Copy link
Member

cdce8p commented Nov 21, 2021

Should have helped for #1239, but did not.

Think I mentioned it somewhere: flake8-typing-imports can't detect it. That's what pylint-dev/pylint#5304 is for.

@Pierre-Sassoulas
Copy link
Member Author

Think I mentioned it somewhere

Yes you did 😄 It's an old MR that was written before you did and got "lost" because I wanted to fix another issue that wasn't strictly necessary to fix (#1271)

tushar-deepsource pushed a commit to tushar-deepsource/astroid that referenced this pull request Dec 20, 2021
…1240)

Relates to pylint-dev#1239

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance Discussion or action around maintaining astroid or the dev workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants