Skip to content

Conversation

@Cube707
Copy link
Collaborator

@Cube707 Cube707 commented Jun 21, 2024

This PR aims to close #585 and close #586 by reconsidering bigger parts of the Path question-type. Mainly the validation function needs a rewrite.

@Cube707 Cube707 added python Pull requests that update Python code refactoring Refactoring labels Jun 21, 2024
@Cube707 Cube707 self-assigned this Jun 21, 2024
@Cube707 Cube707 force-pushed the fix/path branch 4 times, most recently from e6cd2b1 to c9a03d0 Compare June 21, 2024 11:58
@Cube707 Cube707 changed the title rewrite Path to adress multiple issues rewrite Path to address multiple issues Jun 21, 2024
@Cube707
Copy link
Collaborator Author

Cube707 commented Jun 21, 2024

@aaronhendry this version should address both issues, would you care to test it and give your opinion?

install via:

pip install -U "git+https://github.com/magmax/python-inquirer@fix/path"

@aaronhendry
Copy link

This fixes issue #585, which was the issue surrounding valid paths being rejected. It hasn't really fixed issue #586, but if you've decided to remove normalisation entirely from the Path query, then this issue isn't really relevant anymore.

@Cube707 Cube707 marked this pull request as ready for review June 25, 2024 11:02
@Cube707 Cube707 requested a review from magmax as a code owner June 25, 2024 11:02
@Cube707 Cube707 merged commit 971e1ff into main Jun 25, 2024
@Cube707 Cube707 deleted the fix/path branch June 25, 2024 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Pull requests that update Python code refactoring Refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

inquirer.Path does not normalize paths inquirer.Path rejects valid default paths

3 participants