Commit Graph
135 Commits
Author SHA1 Message Date
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
Ivan ShchekleinandRuslan Kuprieiev 7b1dbd6109 CLI: redirect warnings to logger (#3591)
* redirect warnings module messages to logger to silent them in gdrive

* minor cleanup: remove unused var assignment

* dvc: don't ignore warnings manually

We use logger.captureWarnings() instead for CLI and for API this is harmful.

Co-authored-by: Ruslan Kuprieiev <[email protected]>
2020-04-04 22:18:14 +03:00
Mr. Outis 94a0914bba py3: get rid of future imports 2019-12-30 19:35:48 -06:00
Ruslan Kuprieiev 95fe1578bb dvc: automatically reorder imports 2019-11-05 02:34:40 +02:00
Alok Kumar Sahoo e53f7bd0fd Fixed wrong order imports accordance to PEP (#2618)
* Fixed wrong order imports accordance to PEP

* Fixed Grouping

* Fixed Separations
2019-10-17 22:49:52 +03:00
Ruslan Kuprieiev 12c7689a74 dvc: update paramiko requirements
Fixes #2155

No longer need to explicitly ignore paramiko warnings.

Big thanks to @cowlinator for the heads-up!

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-06-24 00:24:06 +03:00
Mr. Outis 85cd344152 logger: Use a more _pythonic_ logging
- Uses a formatter for coloring output
- Move the `progress_aware` decorator logic to the logger itself
- Refactor modules so each one uses their own instance of a logger

Close #1753
2019-04-06 18:19:32 -06:00
Mr. Outis b4d0d37ac8 dvc: refactor package versioning logic
- Use `version.py` to compute a dynamic version stored in `__version__`.
  Version information was scattered across the source code
  (`VERSION_BASE`, `VERSION`, `__version__`, and `version.py`).

- Read `__version__` from `setup.py` and **pin** it using custom
  `build_py` command class.
  This way, we can maintain consistancy between the build version
  and the runtime one.
  Also, this gives us the ability to run `setup.py` without depending on
  on `dvc` itself.

Close #1824
2019-04-06 18:06:11 -06:00
Ruslan Kuprieiev 2a707b706c dvc: bump to 0.34.2 2019-04-04 17:23:42 +03:00
Ruslan Kuprieiev 4893266664 dvc: bump to 0.34.1 2019-04-03 22:36:39 +03:00
Ruslan Kuprieiev a41705a757 dvc: bump to 0.34.0 2019-04-03 00:06:37 +03:00
Ruslan Kuprieiev c645fdd45e dvc: bump to 0.33.1 2019-03-29 21:51:58 +02:00
Ruslan Kuprieiev db11175ad9 dvc: bump to 0.33.0 2019-03-29 03:57:30 +02:00
Andrew Grigorev 9219398d83 tests: fix #1754 2019-03-21 19:47:42 +03:00
Ruslan Kuprieiev db5a068f16 dvc: bump to 0.32.1 2019-03-14 23:00:47 +02:00
Ruslan Kuprieiev 98733ba503 dvc: bump to 0.32.0 2019-03-14 16:15:40 +02:00
Ruslan Kuprieiev 0fc476e4f4 dvc: ignore cryptography's warnings
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-03-14 01:29:44 +02:00
Ruslan Kuprieiev fe5cd32824 dvc: bump to 0.31.1 2019-03-13 15:24:13 +02:00
Ruslan Kuprieiev cb10210572 dvc: bump to 0.31.0 2019-03-10 16:56:22 +02:00
Ruslan Kuprieiev d98810cf9c dvc: bump to 0.30.2 2019-03-10 16:54:58 +02:00
Ruslan Kuprieiev 97c0997fe8 dvc: bump to 0.30.1 2019-03-03 05:07:29 +02:00
Ruslan Kuprieiev 9175c45b14 dvc: bump to 0.30.0 2019-03-01 21:26:42 +02:00
Ruslan Kuprieiev c1cdf77414 dvc: bump to 0.29.0 2019-02-19 21:44:01 +02:00
Ruslan Kuprieiev 5b3dd1930f dvc: bump to 0.28.2
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-18 21:23:41 +02:00
Ruslan Kuprieiev 00e03cadbd dvc: bump to 0.28.1 2019-02-18 04:16:56 +02:00
Ruslan Kuprieiev 2eb39c461f dvc: bump to 0.28.0 2019-02-17 15:11:26 +02:00
Ruslan Kuprieiev def24131fe dvc: bump to 0.27.1 2019-02-16 09:28:36 +02:00
Ruslan Kuprieiev 940731941d dvc: bump to 0.27.0 2019-02-12 05:03:39 +02:00
Ruslan Kuprieiev 95345c45d0 dvc: bump to 0.26.1 2019-02-12 01:51:25 +02:00
Ruslan Kuprieiev 51c9357cd2 dvc: bump to 0.26.0 2019-02-10 21:51:16 +02:00
Ruslan Kuprieiev cbf24cd279 dvc: bump to 0.25.4 2019-02-09 21:07:57 +02:00
Ruslan Kuprieiev 8b35c69a95 dvc: generate version even without gitpython 2019-02-09 21:07:17 +02:00
Ruslan Kuprieiev 5b548d679c dvc: bump to 0.25.3 2019-02-09 07:04:03 +02:00
Ruslan Kuprieiev b67546d648 dvc: bump to 0.25.2 2019-02-09 04:17:56 +02:00
Ruslan Kuprieiev 9210e66b0c dvc: bump to 0.25.1 2019-02-09 03:06:18 +02:00
Ruslan Kuprieiev e29eeccf8a dvc: bump to 0.25.0 2019-02-08 07:10:53 +02:00
Ruslan Kuprieiev 4069e34130 dvc: use black instead of flake8
Fixes #1546

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-01-30 03:48:36 +02:00
Mr. Outis 0d46921ec7 py2: add unicode literals
Fix #1512
2019-01-27 20:40:21 -06:00
Ruslan Kuprieiev 9c73814805 dvc: bump to 0.24.3 2019-01-26 14:53:58 +02:00
Ruslan Kuprieiev fdb103ed66 dvc: bump to 0.24.2 2019-01-24 18:14:57 +02:00
Ruslan Kuprieiev 4cb1e747ef dvc: bump to 0.24.1 2019-01-24 17:36:49 +02:00
Ruslan Kuprieiev dc50872949 dvc: fix dynamic version check 2019-01-24 00:21:48 +02:00
Ruslan Kuprieiev 983120ba35 dvc: bump to 0.24.0 2019-01-23 23:21:29 +02:00
Ruslan Kuprieiev 6fec8b16cd RFC: conform to pylint
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-01-16 14:12:19 +02:00
Ruslan Kuprieiev ed11f6541c dvc: bump to 0.23.2
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-24 18:39:59 +02:00
Ruslan Kuprieiev f714b738b8 dvc: bump to 0.23.1 2018-12-24 08:13:29 +02:00
Ruslan Kuprieiev 33257a3efd dvc: bump to 0.23.0 2018-12-24 03:52:00 +02:00
Ruslan Kuprieiev 1ed42237c1 dvc: bump to 0.22.0 2018-12-05 03:18:46 +02:00
Ruslan Kuprieiev a0ba0ef19a dvc: bump to 0.21.3 2018-12-01 01:48:35 +02:00
Ruslan Kuprieiev 93cd9ced90 dvc: bump to 0.21.2 2018-11-28 23:39:21 +02:00