MartinThoma / flake8-simplify

❄ A flake8 plugin that helps you to simplify code
MIT License
186 stars 19 forks source link

Don't install tests/__init__.py with flake8-simplify #107

Closed Noxitu closed 2 years ago

Noxitu commented 2 years ago

Version 0.18 started installing file tests/__init__.py as part of flake8-simplify. This is result of following change:

https://github.com/MartinThoma/flake8-simplify/compare/0.17.1...0.18.0##diff-fa602a8a75dc9dcc92261bac5f533c2a85e34fcceaff63b3a3a81d9acde2fc52L39

Installing this file is like claiming flake8-simplify "owns" entire "tests" namespace.

It has also some practical, breaking implications on how modules are found depending on how you install them.

MartinThoma commented 2 years ago

Thank you for the hint! I just released 0.18.1 which should fix the issue :-)