-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Pylint alerts corrections as part of an intervention experiment #401
Comments
Thanks for offering to improve the code of this project. Yes, please go ahead with addressing the pylint notes. There are no tests, but flake8 is used as a linter (so basically pycodestyle with extras), so it would be advisable to have that run locally. Since I already took a brief look at the planned interventions, you can skip resolving the wildcard import of |
Thank you! In principle, we divide the files into intervention and control groups so we will be able to compare the impact of the interventions. |
I created a PR with the current fixes yet it is still WIP. In plugins\lib\fileconv\dumpers.py and plugins\lib\fileconv\loaders.py there are unnecessary pass alerts. In plugins\color_scheme_dev.py and plugins\settings\known_settings.py there are too-broad exception alerts due to catching Exception. Last, the main.py file ends with the wildcard import: |
No, the implementaiton was not forgotten. These files/classes use polymorphism and the methods should be implemented in sub-classes. They should
The exceptions in Regardless, from what I know,
Sublime Text loads all top-level modules in a package (here: repository root) and inspects the module globals. Subclasses of the |
Thank you for your detailed and useful feedback! I will adapt the PR accordingly. Your insights are great and helped me. |
I'd like to conduct a software engineering experiment regarding the benefit of Pylint alerts removal.
The experiment is described here.
In the experiments, Pylint is used with some specific alerts, files are selected for intervention and control.
After the interventions are done, one can wait and examine the results.
I'm asking for your approval for conducting an intervention in your repository.
See examples of interventions in stanford-oval/storm, gabfl/vault, and coreruleset/coreruleset.
You can see the planed interventions
May I do the interventions?
The text was updated successfully, but these errors were encountered: