Skip to content

Added type checking in CI - #640

Closed
abhishak3 wants to merge 2 commits into
aboutcode-org:mainfrom
abhishak3:main
Closed

Added type checking in CI#640
abhishak3 wants to merge 2 commits into
aboutcode-org:mainfrom
abhishak3:main

Conversation

@abhishak3

Copy link
Copy Markdown

Issue #226

  • added type checking in CI
  • updated requirements-dev.txt to include mypy==0.931

Signed-off-by: Abhishek abhishek.pandey.3237@gmail.com

Signed-off-by: Abhishek <abhishek.pandey.3237@gmail.com>
@Hritik14

Hritik14 commented Mar 8, 2022

Copy link
Copy Markdown
Collaborator

@abhishak3 ping! failing tests

Signed-off-by: Abhishek <abhishek.pandey.3237@gmail.com>
@abhishak3

abhishak3 commented Mar 8, 2022

Copy link
Copy Markdown
Author

@Hritik14 those errors were caused by mypy because mypy was able to find the modules we were importing, but no corresponding type hints. So, I suppressed these errors using the --ignore-missing-imports flag in the last commit.
For more info, refer here.

@abhishak3

abhishak3 commented Mar 10, 2022

Copy link
Copy Markdown
Author

@Hritik14 can you please have a look at my pr and approve it maybe?

@Hritik14

Hritik14 commented Apr 4, 2022

Copy link
Copy Markdown
Collaborator

@abhishak3 We'll need to fix/mark expected failure the failing test this has introduced in order to move on.

@pombredanne

Copy link
Copy Markdown
Member

@abhishak3 I cannot merge this unless this is passing all the tests correctly without first having to change all the code.

@abhishak3

Copy link
Copy Markdown
Author

any suggestions on how to do this ?

@pombredanne

Copy link
Copy Markdown
Member

@abhishak3 I have not the start of an idea.

This pull request was closed.
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