Skip to content

Conversation

@restyled-io
Copy link
Contributor

@restyled-io restyled-io bot commented Dec 31, 2019

A duplicate of #3020 with additional commits that automatically address
incorrect style, created by Restyled.

Since the original Pull Request was opened as a fork in a contributor's
repository, we are unable to create a Pull Request branching from it with only
the style fixes.

The following Restylers made fixes:

  • black

To incorporate these changes, you can either:

  1. Merge this Pull Request instead of the original, or

  2. Ask your contributor to locally incorporate these commits and push them to
    the original Pull Request

    Expand for example instructions
    ```console
    git remote add upstream https://github.com/iterative/dvc.git
    git fetch upstream pull/<this PR number>/head
    git merge --ff-only FETCH_HEAD
    git push
    ```
    

NOTE: As work continues on the original Pull Request, this process will
re-run and update (force-push) this Pull Request with updated style fixes as
necessary. If the style is fixed manually at any point (i.e. this process finds
no fixes to make), this Pull Request will be closed automatically.

Sorry if this was unexpected. To disable it, see our documentation.

chatcannon and others added 4 commits December 31, 2019 12:22
Since this function does not create a `Repo` class, it can be called
on a git repo with no '.dvc' directory
Fixes #2977

Refactor `_copy_if_git_file` to use `cached_clone` directly, so
that copying still works even if the source repo does not have a
'.dvc' subdirectory.
@codecov
Copy link

codecov bot commented Dec 31, 2019

Codecov Report

Merging #3028 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3028      +/-   ##
==========================================
+ Coverage    91.2%   91.22%   +0.01%     
==========================================
  Files         138      138              
  Lines        8702     8714      +12     
==========================================
+ Hits         7937     7949      +12     
  Misses        765      765
Impacted Files Coverage Δ
dvc/external_repo.py 97.7% <100%> (+0.08%) ⬆️
dvc/dependency/repo.py 89.77% <100%> (+1.16%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cbc7e21...3ecb8fc. Read the comment docs.

@restyled-io restyled-io bot closed this Dec 31, 2019
@restyled-io restyled-io bot deleted the pull-3020-restyled branch December 31, 2019 13:14
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