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

Update mypy to latest and turn on everywhere #5171

Merged
merged 18 commits into from
May 5, 2022

Conversation

iknox-fa
Copy link
Contributor

@iknox-fa iknox-fa commented Apr 26, 2022

resolves #4805 #4089

Description

  • Mypy was upgraded to 0.942
  • Code changes were made so mypy can be run on all code in the repo (excepting the postgres plugin) using the --strict option

Checklist

@cla-bot cla-bot bot added the cla:yes label Apr 26, 2022
@github-actions
Copy link
Contributor

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide.

@iknox-fa iknox-fa marked this pull request as ready for review April 27, 2022 22:06
@iknox-fa iknox-fa requested a review from a team as a code owner April 27, 2022 22:06
@iknox-fa iknox-fa requested a review from a team April 27, 2022 22:06
@iknox-fa iknox-fa requested review from a team as code owners April 27, 2022 22:06
@iknox-fa iknox-fa requested a review from leahwicz as a code owner April 27, 2022 22:17
@@ -140,8 +140,6 @@ def get_adapter_plugins(self, name: Optional[str]) -> List[AdapterPlugin]:
raise InternalException(f"No plugin found for {plugin_name}") from None
plugins.append(plugin)
seen.add(plugin_name)
if plugin.dependencies is None:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@VersusFacit This works right? From what I can see here plugin.dependencies will never be None.

@iknox-fa iknox-fa requested a review from sungchun12 April 27, 2022 22:28
@leahwicz leahwicz requested a review from stu-k May 4, 2022 16:56
Copy link
Contributor

@stu-k stu-k left a comment

Choose a reason for hiding this comment

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

Nothing stands out 👍

@stu-k stu-k requested review from a team May 4, 2022 17:03
@iknox-fa iknox-fa merged commit 4480d05 into main May 5, 2022
@iknox-fa iknox-fa deleted the iknox-mypy-everywhere-latest-CT-121-CT-300 branch May 5, 2022 17:00
@leahwicz leahwicz mentioned this pull request May 9, 2022
1 task
agoblet pushed a commit to BigDataRepublic/dbt-core that referenced this pull request May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CT-300] Upgrading to mypy latest
9 participants