-
-
Notifications
You must be signed in to change notification settings - Fork 393
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
Enabled pylint generator checks #1588
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1588 +/- ##
=======================================
Coverage 90.05% 90.05%
=======================================
Files 108 108
Lines 11584 11584
=======================================
Hits 10432 10432
Misses 1152 1152
Continue to review full report at Codecov.
|
Hi @OriolAbril , you can take a look now |
CHANGELOG.md
Outdated
@@ -13,6 +13,7 @@ | |||
* Integrate `index_origin` with all the library ([1201](https://github.com/arviz-devs/arviz/pull/1201)) | |||
* Fix pareto k threshold typo in reloo function ([1580](https://github.com/arviz-devs/arviz/pull/1580)) | |||
* Preserve shape from Stan code in `from_cmdstanpy` ([1579](https://github.com/arviz-devs/arviz/pull/1579)) | |||
* Enabled pylint `use-a-generator` and `consider-using-generator` checks ([1588](https://github.com/arviz-devs/arviz/pull/1588)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would write something like Use generators instead of lists whenever possible
, users reading the changelog and using arviz may not even know what pylint is, not sure they would understand what this change is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, that makes sense.
Thanks! |
* Enabled pylint generator check * Fixed generator related warnings raised by pylint * Updated the changelog * Changed the changelog msg Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com>
Description
Enabled 2 pylint checks namely:
use-a-generator
consider-using-generator
Fix #1578
Checklist