-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[config] Create a config parsing class indpendant from Pylinter #8707
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
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #8707 +/- ##
=======================================
Coverage 95.82% 95.82%
=======================================
Files 173 173
Lines 18378 18381 +3
=======================================
+ Hits 17610 17613 +3
Misses 768 768
|
This comment has been minimized.
This comment has been minimized.
I think I like the alternate way more. Cleaner final result it's harder to badly instantiate the classes. |
Yes, let's go for the alternative! Nice solution. One early review comment, let's make the new class private (or perhaps even just make the whole file private by underscoring it). I never want to deal with |
This will permit to parse config file without having to instantiate a linter for tool working on pylint configuration like #5462
ed8f2ac
to
e24e936
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
9027cde
to
12299ee
Compare
12299ee
to
398982c
Compare
π€ According to the primer, this change has no effect on the checked open source code. π€π This comment was generated for commit 398982c |
Type of Changes
Description
This will permit to parse config file without having to instantiate a linter for tool working on pylint configuration like #5462. another way to do this would be to extract the logic and create another class that we could use in
_ConfigurationFileParser
like here: Pierre-Sassoulas@4ccbee1