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

dvc: get rid of BaseTree in favor of BaseRemoteTree #4240

Merged
merged 1 commit into from
Jul 19, 2020

Conversation

efiop
Copy link
Contributor

@efiop efiop commented Jul 19, 2020

Continuing #4050

  • ❗ I have followed the Contributing to DVC checklist.

  • πŸ“– If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here.

  • ❌ I will check DeepSource, CodeClimate, and other sanity checks below. (We consider them recommendatory and don't expect everything to be addressed. Please fix things that actually improve code or fix bugs.)

Thank you for the contribution - we'll try to review it as soon as possible. πŸ™

Comment on lines +56 to +58
def open(
self, path, mode="r", encoding="utf-8"
): # pylint: disable=arguments-differ
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These arguments differ will be addressed a bit later. We also need to stop setting mode and encoding like that, and instead do the same thing pathlib's Path does (we've started doing it in tests/remotes/ already).

@efiop efiop merged commit 681fb82 into iterative:master Jul 19, 2020
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.

1 participant