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

[CT-2984] Fix untyped functions in parser/common.py (mypy warning) #8400

Closed
Tracked by #8387
emmyoop opened this issue Aug 14, 2023 · 1 comment
Closed
Tracked by #8387

[CT-2984] Fix untyped functions in parser/common.py (mypy warning) #8400

emmyoop opened this issue Aug 14, 2023 · 1 comment
Labels
tech_debt Behind-the-scenes changes, with little direct impact on end-user functionality

Comments

@emmyoop
Copy link
Member

emmyoop commented Aug 14, 2023

Problem

When we hit a mypy error the console is flooded with mypy warnings as well. Clean up the warning to improve developer experience.

Reproduction

Simply force a mypy error (change types) and the warnings will be generated.

Relevant Output

core/dbt/parser/common.py:181: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

@github-actions github-actions bot changed the title Fix untyped functions in parser/common.py (mypy warning) [CT-2984] Fix untyped functions in parser/common.py (mypy warning) Aug 14, 2023
@emmyoop emmyoop added the tech_debt Behind-the-scenes changes, with little direct impact on end-user functionality label Aug 15, 2023
@gshank
Copy link
Contributor

gshank commented Aug 15, 2023

Fixed in #8416

@gshank gshank closed this as completed Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech_debt Behind-the-scenes changes, with little direct impact on end-user functionality
Projects
None yet
Development

No branches or pull requests

2 participants