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

Resolve MyPy ignore comments for Cosmos pre-commit #382

Closed
5 of 8 tasks
abhi12mohan opened this issue Jul 21, 2023 · 0 comments
Closed
5 of 8 tasks

Resolve MyPy ignore comments for Cosmos pre-commit #382

abhi12mohan opened this issue Jul 21, 2023 · 0 comments
Assignees

Comments

@abhi12mohan
Copy link
Contributor

abhi12mohan commented Jul 21, 2023

The MyPy errors below have currently been resolved via ignore comments. We should ideally find solutions to these where we would be able to remove the ignore comments and not encounter any MyPy errors.


  • Cannot assign to a type:
    /init.py - file-wide

  • Resolve Operator subclass MyPy error:
    /oprerators/kubernetes.py - Line 27
    /operators/docker.py - Line 23

  • Resolve internal untyped decorators:
    /operators/local.py - Line 72, 86
    /operators/virtualenv.py - Line 56

  • No redef:
    /dataset.py - Line 11

  • Attr defined:
    /dbt/parser/project.py - Line 114

  • Has type:
    /operators/docker.py Line 42, 52
    /operators/kubernetes.py - Line 43

  • Operator:
    /operators/local.py - Line 48

  • Arg type:
    /dbt/graph.py - Line 134, 226
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants