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

fix: CLI --src flag glob patterns #2284

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

marcelo-souzaf
Copy link

Context

Resolves #2001.
A set is created with the resolved paths to avoid multiplicity, but paths can't be used as glob expressions, so the code fails when initializing the Config instance.
Given that there is logic to keep the src paths unique after evaluating them, the changes fix the bug harmlessly.

Overview

  • Change the type of the config value "src_paths" from pathlib.Path to str.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

src_path glob patterns do not work from command line flag
1 participant