Tomás Farías Santana
f8ba5daae2
Replace dict calls for literals ( #4784 )
...
* Replace dict calls for literals
* Pin flake8-comprehensions version to 3.3.0
2020-10-25 19:51:22 +02:00
Peter Rowlands (변기호)
d1cc143ef2
diff: add state for files missing from both workspace and cache ( #4530 )
...
* diff: support missing cache status for workspace diff
* diff: add --hide-missing option to hide cache missing status
* update command tests
* update diff func tests
* only show missing cache status when diffing local workspace
* suppress all output if no changes and --hide-missing
* use hide_missing instead of show_missing
* use is_dvc
2020-09-07 04:44:04 +03:00
Puneetha Pai
c31ec3038a
diff: Add sort logic to sort diff ouput irrespective of output format… ( #4459 )
...
* diff: Add sort logic to sort diff ouput irrespective of output format(default/json/md)
* diff: test stub using actual value, not pass by reference for (dict)
2020-08-26 19:35:06 +03:00
Puneetha Pai
05c1e76091
diff command: output in markdown format with hash ( #4435 )
...
* diff: Add tests to hash formatting function
* diff: Add test for show_md with hash
* diff: Add stub test for _show_md from command
2020-08-24 02:25:09 +03:00
Ruslan Kuprieiev
d809723bc9
dvc: add trailing newline in --show-md ( #4124 )
...
To finalize md table.
Fixes #4123
2020-06-27 00:02:18 +03:00
Saugat Pachhai and Ruslan Kuprieiev
666e203bbb
params/metrics: diff: implement tabulated markdown output (--show-md) ( #3757 )
...
* params/metrics: diff: implement tabulated markdown output
Via `--show-md` on `diff`s.
* table: show None on missing val
* tests: use `dedent`, add tests for markdown
* diff: add --show-md
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2020-05-10 18:39:51 +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
505b88afae
diff: make output consistent with other diff commands ( #3727 )
...
* diff: make output consistent with other diff commands
Fixes #3435
* tests: plot: fix flaky test
2020-05-04 00:25:55 +03:00
Ivan Shcheklein
eebbf3f812
change diff checksum arg name to hash ( #3384 )
2020-02-23 06:32:35 +02:00
Mr. Outis and @dmpetrov
e5145e6c55
diff: format summary to make it more human readable
...
Co-authored-by: @dmpetrov
2020-01-30 13:15:49 -06:00
Mr. Outis
793a069644
tests/diff: order dictionary (second try)
2020-01-30 10:00:56 -06:00
Mr. Outis
e9bd9599a2
tests/diff: dont care about sorted jsons
2020-01-30 09:26:35 -06:00
Mr. Outis
e501549bd7
diff: add a summary at the bottom
2020-01-29 18:54:45 -06:00
Mr. Outis
8e9d8145cd
diff: remove deadcode, replace diffable with dicts
2020-01-29 17:42:35 -06:00
Mr. Outis
423a6163bc
diff: make --checksums work with --json-show
2020-01-27 14:10:37 -06:00
Mr. Outis
fced1718cc
diff: --json -> --show-json
2020-01-27 12:53:24 -06:00
Mr. Outis
2370cb12b3
diff: use logger instead of print
2020-01-27 12:33:24 -06:00