Skip to content

Conversation

@antonagestam
Copy link
Contributor

Closes #91

@antonagestam antonagestam marked this pull request as ready for review January 1, 2022 15:16
Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good, do you know any good ways to write a test for this feature? 🤔

@antonagestam
Copy link
Contributor Author

@sobolevn I opened a separate PR based on your response in the issue, that simply changes to not never set --python-version. (Happy new year to you as well! 🥳).

Which PR do you think makes more sense?

I didn't find any tests for the rest of the logic of merging config etc. I think it would be nice to have such tests, I think it should be fairly easy to achieve by mocking open and checking the output is as expected based on the input.

@sobolevn
Copy link
Member

sobolevn commented Jan 1, 2022

Replaced by #93

@sobolevn sobolevn closed this Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Setting --python-version overrides option in --mypy-ini-file

2 participants