Support for Flake8 from version >=4. The approach has been changed to ensure more stable plugin functionality. The implementation was modified too often, while the command-line interface remained largely the same. For this reason, it was decided not to rely heavily on the internal implementation or to do so minimally. This approach allowed for support of both the backward-compatible version and the new implementation of Flake8.
Ensuring backward compatibility for tests, as changes have been introduced starting from version 6.0.0.
The approach outlined above enables us to easily implement new features, as practically any flag can be passed to Flake8. It can be tagged with --flake8-{the-same-name-like-flake8}, through a very simple mechanism. This further demonstrates that this approach can be even more flexible. Within the plugin, we remove the prefix --flake8- and provide --{the-same-name-like-flake8} to argv. This makes it simple and easy to maintain.
An update has also been added to the documentation for developers, as this was lacking. This could encourage others to contribute code.
Support for Flake8 from version >=4. The approach has been changed to ensure more stable plugin functionality. The implementation was modified too often, while the command-line interface remained largely the same. For this reason, it was decided not to rely heavily on the internal implementation or to do so minimally. This approach allowed for support of both the backward-compatible version and the new implementation of Flake8.
Ensuring backward compatibility for tests, as changes have been introduced starting from version 6.0.0.
The approach outlined above enables us to easily implement new features, as practically any flag can be passed to Flake8. It can be tagged with --flake8-{the-same-name-like-flake8}, through a very simple mechanism. This further demonstrates that this approach can be even more flexible. Within the plugin, we remove the prefix --flake8- and provide --{the-same-name-like-flake8} to argv. This makes it simple and easy to maintain.
An update has also been added to the documentation for developers, as this was lacking. This could encourage others to contribute code.
The appearance of the documentation after the changes. https://github.com/pypros/pytest-flake8/tree/update-flake8-compat-4.x-to-latest