-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non imported nor empty Python files are not failing #177
Comments
Consider exceptions for and consider use the lineno to 1 in order to be able to disable with comment |
There is a hook to check large files: Maybe, it could be done using a similar way to check empty ones But I'm thinking about valid empty ones since Are there other ones? Also, I don't think it should be only for python files (similar to large files) Could you create a new PR/issue to discuss it in, please? |
Sounds nice. I was working on the Odoo part which involves ensuring python files are imported in |
Fixes Vauxoo#177 This new check looks for python files (modules) which are not referenced anywhere in the codebase, making them useless.
Fixes Vauxoo#177 This new check looks for python files (modules) which are not referenced anywhere in the codebase, making them useless.
Fixes Vauxoo#177 This new check looks for python files (modules) which are not referenced anywhere in the codebase, making them useless.
Fixes Vauxoo#177 This new check looks for python files (modules) which are not referenced anywhere in the codebase, making them useless.
Fixes Vauxoo#177 This new check looks for python files (modules) which are not referenced anywhere in the codebase, making them useless.
Fixes Vauxoo#177 This new check looks for python files (modules) which are not referenced anywhere in the codebase, making them useless.
Fixes Vauxoo#177 This new check looks for python files (modules) which are not referenced anywhere in the codebase, making them useless.
Fixes Vauxoo#177 This new check looks for python files (modules) which are not referenced anywhere in the codebase, making them useless.
Fixes Vauxoo#177 This new check looks for python files (modules) which are not referenced anywhere in the codebase, making them useless.
This new check looks for python files (modules) which are not referenced anywhere in the codebase, making them useless. Closes Vauxoo#177.
This file https://git.vauxoo.com/absa/absa/-/blob/12.0/absa/controllers/test.py
was introduced in this commit: https://git.vauxoo.com/absa/absa/-/commit/37bba8c3c2c642b419efb306209e40a0c9a954ca
but the pipelines were all green: https://git.vauxoo.com/absa/absa/-/pipelines/116399 (excepting odoo_warnings but there was no reference at the file there)
seems to me that it should throw a couple of Pylint errors, something like:
The text was updated successfully, but these errors were encountered: