kedro-org / kedro-plugins

First-party plugins maintained by the Kedro team.
Apache License 2.0
94 stars 90 forks source link

feat: Separated the Lint Dependencies for the Plugins #901

Closed MinuraPunchihewa closed 1 month ago

MinuraPunchihewa commented 1 month ago

Description

This PR separates the lint dependencies for each plugin and allows users to install only the packages for required linting using the following command: make install-lint-requirements plugin=kedro-<plugin>

This will avoid all of the bulky dependencies required for running the tests from also being installed when the need is only for linting.

Fixes https://github.com/kedro-org/kedro-plugins/issues/415

Development notes

These changes have been tested my manually running the above make command for each plugin.

Checklist

MinuraPunchihewa commented 1 month ago

Hey @astrojuanlu, I believe I've been able to separate the lint dependencies. Let me know if I have missed any packages that are required for linting and if there is any documentation that I will need to update.

MinuraPunchihewa commented 1 month ago

Thank you @MinuraPunchihewa this is an elegant solution.

I appreciate that, @SajidAlamQB. Thank you.