Skip to content

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

Merged
efiop merged 1 commit into
treeverse:masterfrom
efiop:fix-4050
Jul 19, 2020
Merged

dvc: get rid of BaseTree in favor of BaseRemoteTree#4240
efiop merged 1 commit into
treeverse:masterfrom
efiop:fix-4050

Conversation

@efiop
Copy link
Copy Markdown
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 thread dvc/scm/git/tree.py
Comment on lines +56 to +58
def open(
self, path, mode="r", encoding="utf-8"
): # pylint: disable=arguments-differ
Copy link
Copy Markdown
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 treeverse: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