Nikita Kodenko and Peter Rowlands
3be395b3a7
Unittest to pytest: moved few unittest tests to pytest ( #6379 )
...
* tests: rm TestGit in func/test_init.py
* tests: func: rm TestSCMGit in test_scm.py
* test: func: rm _check_dirs in test_init.py
* tests: func: minor fixes in test_scm.py
* Update tests/func/test_scm.py
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
2021-08-04 15:11:09 +03:00
Ruslan Kuprieiev
8f568ab197
state: use diskcache ( #5505 )
...
* state: only load when needed
* state: don't use separate load/dump
* checkout: group link removal logic together
* state: use diskcache.Cache
* staging: use pbar and save to state
* state: don't pass the whole repo to __init__
* staging: explicitly pass state object
* fs: get rid of odb property
* state: don't close the connection to cache
* repo: close: close state
2021-02-23 20:51:34 +02:00
Artem Dudarev
38cbd998e1
dvc: more explict error during init when .dvc is ignored by git ( #4978 )
...
* dvc: more explict error during init when .dvc is ignored by git
Fixes #3738
* dvc: address PR feedback
* styling
* styling
2020-11-30 21:00:17 +02:00
Anatoly and Ruslan Kuprieiev
5cb36fc983
Special dir warning #3436 ( #4229 )
...
* add special folder warning
* add special folder warning
* remove special folder warning, start working on default dvcignore
* add default .dvcignote and templates
* remove dvcignore templates
* change text and add tests
* refactor
* dvcignore: ignore comments
* adjust tests
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2020-08-13 01:03:34 +03:00
Peter Rowlands (변기호)
833e82a7ea
Drop Python 3.5 support ( #3792 )
...
* drop python 3.5 support
* dvc: remove fspath() use inside os.path calls
* dvc: replace dvc.compat.fspath with os.fspath
* tests: replace dvc.compat.fspath with os.fspath
* utils: relpath() should use fspath/str
* utils: os.readlink doesn't support path-like obj on Windows until 3.8
2020-05-14 01:46:42 +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
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
Paweł Redzyński
8d04d6d3ce
SCM: allow multiple DVC repos inside single SCM repo ( #3257 )
2020-02-25 14:40:20 +02:00
Ruslan Kuprieiev
2ab6860b90
Update tests/func/test_init.py
2020-01-13 11:25:37 +02:00
Ruslan Kuprieiev
21c75502c5
test: init: convert to dir helpers
2020-01-12 06:07:21 +02:00
Ruslan Kuprieiev
95fe1578bb
dvc: automatically reorder imports
2019-11-05 02:34:40 +02:00
pared
a1b12db00f
repo: get default logger level from logger
2019-04-29 17:41:38 -07:00
Ruslan Kuprieiev
6f11f1f51f
test: move func tests to tests/func
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-04-16 20:19:22 +03:00