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

Gracefully handle invalid paths csv regex in conf/args #9712

Merged

Conversation

Pierre-Sassoulas
Copy link
Member

Type of Changes

Type
🐛 Bug fix

Description

Fix 'ignore-paths' from #9680, in particular, but other using this function too.

Closes #9680

@Pierre-Sassoulas Pierre-Sassoulas added this to the 3.2.4 milestone Jun 8, 2024
Copy link

codecov bot commented Jun 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.84%. Comparing base (9f8dcbd) to head (e852a9a).
Report is 132 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9712   +/-   ##
=======================================
  Coverage   95.84%   95.84%           
=======================================
  Files         174      174           
  Lines       18865    18865           
=======================================
  Hits        18082    18082           
  Misses        783      783           
Files with missing lines Coverage Δ
pylint/config/argument.py 100.00% <ø> (ø)

Copy link
Contributor

github-actions bot commented Jun 8, 2024

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

This comment was generated for commit e852a9a

@@ -82,12 +82,24 @@ def test_functional_config_loading(
expected_loaded_configuration = get_expected_configuration(
configuration_path, default_configuration
)
runner = None # The runner can fail to init if conf is bad enough.
Copy link
Member Author

Choose a reason for hiding this comment

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

Suggested change
runner = None # The runner can fail to init if conf is bad enough.

This became useless afterward, I'll remove and rebase later.

@Pierre-Sassoulas Pierre-Sassoulas merged commit 3f1f7b8 into pylint-dev:main Jun 8, 2024
48 checks passed
@Pierre-Sassoulas Pierre-Sassoulas modified the milestones: 3.2.4, 3.3.0 Jun 12, 2024
@Pierre-Sassoulas Pierre-Sassoulas deleted the proper-output-for-bad-regex branch June 12, 2024 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport maintenance/3.3.x Crash 💥 A bug that makes pylint crash
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gracefully handle invalid ‘ignore-paths’ regex crash
2 participants