Skip to content
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

Optionally disable consider-using-join for non-empty separator #9129

Merged

Conversation

theirix
Copy link
Contributor

@theirix theirix commented Oct 8, 2023

Type of Changes

Type
✨ New feature
📜 Docs

Description

Skip consider-using-join check for non-empty separators unless a suggest-join-with-non-empty-separator option is set to yes.

Closes #8701

Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good already 👍

tests/functional/c/consider/consider_join2.py Outdated Show resolved Hide resolved
pylint/checkers/refactoring/refactoring_checker.py Outdated Show resolved Hide resolved
@Pierre-Sassoulas Pierre-Sassoulas added the Enhancement ✨ Improvement to a component label Oct 8, 2023
@Pierre-Sassoulas Pierre-Sassoulas added this to the 3.1.0 milestone Oct 8, 2023
@codecov
Copy link

codecov bot commented Oct 8, 2023

Codecov Report

Merging #9129 (f9ff7d7) into main (ce8d1a9) will increase coverage by 0.00%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9129   +/-   ##
=======================================
  Coverage   95.76%   95.76%           
=======================================
  Files         173      173           
  Lines       18676    18680    +4     
=======================================
+ Hits        17885    17889    +4     
  Misses        791      791           
Files Coverage Δ
pylint/checkers/refactoring/refactoring_checker.py 98.23% <100.00%> (+<0.01%) ⬆️

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@theirix theirix force-pushed the consider-using-join-non-empty branch from 1cabef4 to f9ff7d7 Compare October 12, 2023 12:24
@github-actions
Copy link
Contributor

🤖 According to the primer, this change has no effect on the checked open source code. 🤖🎉

This comment was generated for commit f9ff7d7

Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great MR, thank you ! (Will be released in 3.1.0)

@Pierre-Sassoulas Pierre-Sassoulas merged commit 0796dfa into pylint-dev:main Oct 12, 2023
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement ✨ Improvement to a component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable consider-using-join for non-empty separator
2 participants