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
Paweł Redzyński
a9bc65ee1f
analytics: fix resolving used scm ( #3405 )
2020-02-26 02:29:46 +02:00
Mr. Outis
086acf6404
py3: dvc/utils/compat.py -> dvc/compat.py
2019-12-31 23:42:07 -06:00
Mr. Outis
f209e1eb6f
tests/analytics: explicitly set content for foo
2019-12-15 13:11:40 -06:00
Mr. Outis
7426a62baa
tests: analytics, use dir helpers
2019-12-12 18:16:10 -06:00
Mr. Outis
5dd6300878
💅 black
2019-12-07 21:19:54 -06:00
Mr. Outis
c50bd17bb4
analytics: collect execution info only when available
2019-12-07 21:14:31 -06:00
Mr. Outis
2145daa130
analytics: define private methods
2019-12-06 16:26:10 -06:00
Mr. Outis
da064e2ede
analytics: remove the report after sending it
2019-12-06 12:28:06 -06:00
Mr. Outis
71ead3f62e
analytics: use a tempfile for inter-process communication
2019-12-04 19:47:06 -06:00
Mr. Outis
285620d96e
tests: mock analytics.collect while testing daemon
2019-12-03 09:41:23 -06:00
Mr. Outis
8a32b28b54
analytics: collect and send on daemon
2019-12-02 22:54:16 -06:00
Mr. Outis
2c8e1495b8
analytics: use fspath instead of str
2019-12-02 21:27:31 -06:00
Mr. Outis
e69fffa7c7
py2 compat issues 🤷
2019-11-27 18:39:01 -06:00
Mr. Outis
f9952046fd
tests: functional and unit tests for analytics
2019-11-26 19:29:20 -06:00
Mr. Outis
6bc24039db
💅 black
2019-11-26 18:33:16 -06:00
Mr. Outis
5261ed7148
tests: analytics.find_or_create_user_id
2019-11-26 13:40:11 -06:00
Mr. Outis
ef1f038c32
analytics: refactor into a module
2019-11-20 13:31:44 -06:00
Ruslan Kuprieiev
1058df0f77
analytics: don't forget to convert to bool
2019-11-08 05:21:47 +02:00
Ruslan Kuprieiev
95fe1578bb
dvc: automatically reorder imports
2019-11-05 02:34:40 +02: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