pre-commit-ci[bot] and Saugat Pachhai
356dfa0327
[pre-commit.ci] pre-commit autoupdate ( #10981 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2026-03-31 10:49:52 +05:45
pre-commit-ci[bot] and Saugat Pachhai
6e896d396c
[pre-commit.ci] pre-commit autoupdate ( #10869 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.12.12 → v0.13.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.12...v0.13.0 )
* fix ruff errors
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2025-09-20 10:22:37 +05:45
pre-commit-ci[bot] and Saugat Pachhai
3783d65dde
[pre-commit.ci] pre-commit autoupdate ( #9841 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.282 → v0.0.285](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.282...v0.0.285 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix ruff issues
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2023-08-22 15:22:57 +05:45
Ruslan Kuprieiev
1835c8c6e9
tests: unit: explicitly ask for dvc repo
...
Currently these rely on the root of the repo being in the dvc repo.
2023-06-19 03:44:10 +03:00
skshetry
a86470ccbc
update black and change line-length to 88 ( #8953 )
2023-02-04 05:28:07 +02:00
Saugat Pachhai (सौगात)
c02bd7f318
migrate some files to pytest
2022-11-03 23:07:28 +05:45
dberenbaum
fc3f3ca8d7
diff: fix missing key bug ( #6720 )
2022-03-02 19:10:31 +01:00
Saugat Pachhai (सौगात)
446516d788
refactor: rename dvc.command to dvc.commands
2022-01-19 19:41:40 +05:45
Saugat Pachhai
9a1d74048a
cli: add short alias for --show-{csv,json,md} ( #6711 )
...
As `--csv`/`--json`/`--md`
2021-09-30 20:38:32 +05:45
Nikita Kodenko
696c704632
tests: replace several unittest.mock usages with mocker ( #6544 )
...
* tests: several unittest.mock usages replaced with mocker
* tests: fixes in tests/unit/repo/test_reproduce.py
* tests: rolled back WiP tests
2021-09-17 18:22:34 +03:00
Christian Clauss
d8b67f6f78
Upgrade to modern Python syntax ( #6296 )
2021-07-19 01:30:37 +03:00
Hadas Arik and pre-commit-ci[bot]
9d9ff10be1
diff: only show states with values in summary ( #6229 )
...
* Fixed diff summary to only show states with values.
* Removed redundant comma by using join.
* Swithced for loop to generator for better readability.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-07-06 21:03:32 +09:00
Saugat Pachhai
476af100de
ui: migrating rest to the ui.write ( #6176 )
...
* complete migration to ui.write
* fix small bugs
2021-06-21 22:14:59 +03:00
Saugat Pachhai
42cf394fde
diff: use ui.table for --show-md ( #5887 )
2021-04-27 17:10:08 +05:45
Dmitry Kropachev
6b05cc5e24
dvc.command.diff: add renamed detection feature ( #5160 )
...
fixes #5150
2021-01-09 13:49:03 +09:00
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