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

chore: use os.path.join instead of concatenating paths #2919

Merged
merged 1 commit into from
Jan 16, 2024
Merged

Conversation

renanrodrigo
Copy link
Member

Why is this needed?

This PR solves all of our problems because we are trying not to concatenate paths manually.
Removes trailing and connection slashes from paths, and everything reads more pythonic.

Fixes: #2799

Test Steps

It is a refactor, assert nothing breaks.

Checklist

  • I have updated or added any unit tests accordingly
  • I have updated or added any integration tests accordingly
  • Changes here need to be documented, and this was done in:

Does this PR require extra reviews?

  • Yes
  • No

Removes trailing and connection slashes from paths, and everything reads
more pythonic

Fixes: #2799

Signed-off-by: Renan Rodrigo <[email protected]>
@lucasmoura lucasmoura merged commit 8cb1115 into next-v32 Jan 16, 2024
23 checks passed
@lucasmoura lucasmoura deleted the join-us branch January 16, 2024 20:21
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.

2 participants