-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[deprecation] setup.cfg
and tox.ini
sections need to start by 'pylint'
#8465
[deprecation] setup.cfg
and tox.ini
sections need to start by 'pylint'
#8465
Conversation
@@ -41,23 +40,13 @@ def _parse_ini_file(self, file_path: Path) -> tuple[dict[str, str], list[str]]: | |||
|
|||
config_content: dict[str, str] = {} | |||
options: list[str] = [] | |||
ini_file_with_sections = self._ini_file_with_sections(file_path) |
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.
There's a perf increase here, we calculate the boolean once instead of for each sections 😄
setup.cfg
and tox.ini
sections need to start by 'pylint'
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #8465 +/- ##
==========================================
- Coverage 95.73% 95.73% -0.01%
==========================================
Files 174 174
Lines 18373 18371 -2
==========================================
- Hits 17589 17587 -2
Misses 784 784
|
Co-authored-by: Mark Byrne <[email protected]>
🤖 According to the primer, this change has no effect on the checked open source code. 🤖🎉 This comment was generated for commit 8d2ead2 |
Type of Changes
Description
Enacting planned deprecations.