Ruslan Kuprieiev
a1d3440f85
metrics: diff: introduce --precision ( #4026 )
...
Rounding to 5 digits by default.
Fixes #3904
2020-06-13 00:54:42 +03:00
Ruslan Kuprieiev
87276faef2
RepoTree: work with dirty repos ( #4005 )
...
Currently `RepoTree.open` will throw FileNotFoundError if you have a
file that is tracked by dvc, but which has no md5 or a cache for which
is missing, even though you have the file itself in your workspace.
This corresponds very nicely to the `--no-commit` or `--no-exec`
scenario, where you might not want to commit your artifacts to cache
just yet.
Fixes #3974
2020-06-11 09:50:27 +03:00
Saugat Pachhai
e8f6cd7f5b
run: raise error when command is not specified ( #3850 )
...
* run: raise error when command is not specified
* tests: adjust tests/func/plots/test_plots.py
* tests: adjust tests/func/plots/test_diff.py
* tests: add command to metrics/plots/params
* tests: fix test_remote.py
* tests: fix test_ls.py
* tests: fix test_repro* and test_run*
* tests: fix script in test_ls, was failing on Win
2020-05-27 12:13:26 +03:00
Ruslan Kuprieiev
597ab98d0e
diff: hanle repo with no commits ( #3784 )
...
`git diff` doesn't throw errors, so we could do the same.
Fixes #3398
2020-05-14 02:14:37 +03:00
Casper da Costa-Luis
2bb7257a06
lint: isort pre-commit & misc improvements ( #3749 )
...
* test: clean flake8 config root clutter
* test: pre-commit: add isort
Compatible with black (see https://github.com/timothycrosley/isort/issues/694 )
* lint: reorder imports
* lint: more complex imports
* lint: fix deepsource
* config: isort: add first party dvc
* tests: restyled: add isort
* temp commit to revert before merge
* Revert "temp commit to revert before merge"
This reverts commit 11db0fd8e95fe891597cbb9bf804480909b19e24.
2020-05-06 23:56:07 +03:00
Ruslan Kuprieiev
93d7b9173b
tests: use --single-stage
2020-05-04 20:23:49 +03:00
Ruslan Kuprieiev
45944ddde7
metrics: rework metrics implementation ( #3658 )
...
Dropping support for all types except json and yaml. No more xpath
support.
Fixes #3572
2020-04-22 13:39:59 +03:00