skshetry
a137b2a6bc
update ruff and enable flake8-logging-format and flake8-type-checking ( #8894 )
...
* update ruff and enable flake8-logging-format and flake8-type-checking check
* Update dvc/external_repo.py
* Update dvc/fs/dvc.py
* Update dvc/repo/experiments/__init__.py
* Update dvc/repo/experiments/queue/base.py
* Update pyproject.toml
2023-01-27 19:14:19 +05:45
skshetry
c1cd13c34f
serialize: fix loading of cloud metadata from .dvc/dvc.lock files ( #8889 )
2023-01-26 16:18:03 +05:45
skshetry
b3aa698cd4
dumpd: serialize files at the end in .dvc files ( #8879 )
2023-01-25 18:52:15 +05:45
skshetry
bb9a3a0403
import/import-url: try not to delete dvcfile before import/import-url completes ( #8876 )
...
* import/import-url: try not to delete dvcfile before import/import-url completes
* use repo.stage.create instead of internal create_stage utility
2023-01-25 18:16:45 +05:45
skshetry
3427e115eb
data status: check if change.old.hash_info is None or not ( #8878 )
...
data:status: check if change.old.hash_info is None or not
2023-01-25 14:24:38 +02:00
skshetry
3d5f4dc66c
add support for output-specific remotes ( #8862 )
...
Also splits metadata in `files` to cloud vs local. But this happens
during dump/load, so actual behaviour is changed. During runtime,
the metadata is merged and loaded. During dump, the metadata
are split if there is a `remote` set.
2023-01-25 18:06:12 +05:45
skshetry
f1c9e9365b
remove setup.py file ( #8851 )
2023-01-20 20:26:13 +05:45
skshetry
6d80b72434
lint: run lint checks on all platforms ( #8832 )
2023-01-17 10:51:57 +05:45
skshetry
c47c2123fb
cleanup linters: get rid of pylint-pytest, run pylint only on dvc/ directory, etc ( #8822 )
...
* cleanup linters: get rid of pylint-pytest, run pylint only on dvc/ directory, etc.
* remove pylint direcitves
* Apply suggestions from code review
* Update pyproject.toml
2023-01-17 08:35:19 +05:45
skshetry
309ae4d995
mypy: enable check-untyped-defs ( #8815 )
2023-01-15 21:40:40 +05:45
skshetry
7a65ac06b2
mypy: don't ignore all imports, also disallow implicit optional ( #8814 )
...
* mypy: don't ignore all imports
* mypy: disallow implicit_optional
2023-01-15 16:25:03 +05:45
skshetry
b0052aa666
pre-commit update: flake8/ruff/pyupgrade/black/isort ( #8813 )
2023-01-15 14:56:54 +05:45
skshetry
da27174e02
dvcfile: rename PipelineFile to ProjectFile, get rid of Dvcfile class, cleanups, etc. ( #8812 )
...
dvcfile: rename PipelineFile to ProjectFile, get rid of Dvcfile class, cleanups etc
2023-01-15 12:45:10 +05:45
skshetry
dba7d3c320
mypy: use typesafe cached_property ( #8799 )
2023-01-13 09:08:59 +05:45
skshetry
5169205229
deps: bump minimum version req for grandalf to 0.7.
2023-01-12 18:38:45 +05:45
skshetry
3bcd683677
repo.check_graph: rename method ( #8800 )
2023-01-12 16:03:51 +05:45
skshetry
a814f04ee0
tests: xfail test_apply_failed on JSONDecodeError/PermissionError ( #8796 )
2023-01-11 18:04:23 +05:45
skshetry
90a27179eb
ruff: ignore complex functions and remove dvc.utils.fs.makedirs ( #8795 )
...
We may want to prevent any new functions from getting complex.
2023-01-11 17:58:51 +05:45
skshetry
175c578579
ruff: ban relative parent/grandparent imports ( #8794 )
2023-01-11 16:48:46 +05:45
skshetry
5441964fdb
add ruff ( #8793 )
...
* add ruff linter
* enable few more checks
2023-01-11 15:20:38 +05:45
skshetry
d87cdba6d8
gha: remove env vars SHELL
2023-01-10 10:19:29 +05:45
skshetry
ea8a4a3db4
GHA: remove unused env from tests workflow
2022-12-27 10:26:29 +05:45
skshetry
bb80eab77a
deps: add support for hdfs in Python 3.11
2022-11-25 11:16:42 +05:45