Skip to content

fix: Allow adding PathLike object to index #1440

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

Merged
merged 1 commit into from
May 18, 2022

Conversation

rdbisme
Copy link

@rdbisme rdbisme commented May 17, 2022

Close #1382

Apart from the automatic linting, relevant lines are here + the additional test

Copy link
Member

@Byron Byron left a comment

Choose a reason for hiding this comment

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

May I ask to adjust the commits to not do code formatting? I am happy to run it through black to unify the style and if it doesn't make it (too much) worse, but that should be a separate step.

All these changes are like noise to the signal making a review harder than it has to be. Thanks.

@Byron Byron added this to the v3.1.28 - Bugfixes milestone May 18, 2022
@Byron
Copy link
Member

Byron commented May 18, 2022

Great, thanks a lot, particularly for the test.

@Byron Byron merged commit d96f671 into gitpython-developers:main May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

repo.index.add() first argument type accepts os.PathLike but code raises TypeError
2 participants