Alex Ford
|
b3bfa346c3
|
Using existing logging level if defined in addLoggingLevel (#5632)
* Use existing level if defined in addLoggingLevel
Fixes https://github.com/iterative/dvc/issues/4546
* Add addLoggingLevel test
* Format fix.
|
2021-03-22 15:15:16 +02:00 |
|
Saugat Pachhai
|
ad306d7bf3
|
Enable most of the pylint checks (#4111)
|
2020-06-25 18:10:14 +03:00 |
|
Casper da Costa-Luis
|
184028f176
|
logger: add trace, count --verbose/--quiet (#3806)
* logger: initial verbosity/quiet counts
Fixes #2332
* actually use TRACE
* logger: properly patch in trace
* FATAL -> CRITICAL
* only change log level if not info
Makes testing easier
* tests: logger: fix and update
* state: logger: debug => trace
* logger: filter duplicate debug messages
|
2020-05-20 18:23:31 +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 |
|
Saugat Pachhai
|
d2734dfe1e
|
tests: remove use of mocker as context-manager (#3480)
|
2020-03-16 08:25:22 +05:45 |
|
Mr. Outis
|
8492786ae4
|
logger: refactor, remove dead code (#3306)
* Remove dead code
* Rename _walk_exc to _causes, simplify it
* Split up stack trace and remove extra \n
* Import traceback only when needed
|
2020-02-17 03:19:37 +02:00 |
|
Saugat Pachhai
|
17c7b72cb0
|
logger: log datetime when on debug mode (#3325)
|
2020-02-14 13:58:15 +02:00 |
|
Ruslan Kuprieiev
|
2786a4e59b
|
logger: allow exc_info in all record types (#3290)
This better reflects the original logger formatter.
This also fixes annoying redundant newline between traceback and "need
any help" footer.
|
2020-02-09 22:22:20 +02:00 |
|
Ruslan Kuprieiev
|
6411a3bb32
|
ui: don't show exception for "Too many files" error
https://github.com/iterative/dvc.org/pull/875#discussion_r362920851
Stops showing the exception in non-verbose mode, but shows full
traceback in verbose mode.
Introducing our custom parameter `tb_only` through standard `extra`
logging parameter.
|
2020-01-06 01:02:59 +02:00 |
|
Mr. Outis
|
5611ccb43a
|
exceptions: remove cause
|
2020-01-02 20:43:24 -06: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 |
|
n3hrox
|
89502bee88
|
fix tests
|
2019-11-01 18:05:27 +01:00 |
|
Casper da Costa-Luis
|
9ce3b0c50c
|
add: output improvements (#2546)
* some doc improvements
* add: intermediate progress
* update after rebase
* linting
* fix checksum progress cleanup by ensuring gc
* progress-aware logger.info
* re-fix checksum pbar closure
* multi-file add
* make stage.dump() less verbose.
TODO: check all instances of stage.dump and possibly make verbose
* decrease verbosity of checksum calculations
* leave dvc.add stats
* update/fix logger tests
* minor doc reword
Co-Authored-By: Ruslan Kuprieiev <[email protected]>
* tidy API target_;list => targets
- as per https://github.com/iterative/dvc/pull/2546#discussion_r337042535
* tidy RecursiveAddingWhileUsingFilename message duplication
- fixes https://github.com/iterative/dvc/pull/2546#discussion_r337044670
* minor logging uncomment
- fixes https://github.com/iterative/dvc/pull/2546#discussion_r337051097
* minor doc improvements
- https://github.com/iterative/dvc/pull/2546#discussion_r337116255
- https://github.com/iterative/dvc/pull/2546#discussion_r337116809
* tidy exception
- fixes https://github.com/iterative/dvc/pull/2546#discussion_r337434142
* minor doc update
- fixes https://github.com/iterative/dvc/pull/2546/files#r337294491
- related to https://github.com/iterative/dvc.org/issues/719
* Adding => add
- fixes https://github.com/iterative/dvc/pull/2546#discussion_r337037137
* various review fixes
- minor comment as per
https://github.com/iterative/dvc/pull/2546#discussion_r337927837
- revert warning style fix
https://github.com/iterative/dvc/pull/2546#discussion_r338046035
- Abstract error consistency
https://github.com/iterative/dvc/pull/2546#discussion_r337931070
- minor comment as per
https://github.com/iterative/dvc/pull/2546#discussion_r338254958
* remove diabling progress option
- fixes https://github.com/iterative/dvc/pull/2546#discussion_r338314050
|
2019-10-25 01:09:19 +03:00 |
|
Mr. Outis
|
13a7e0f978
|
logger: send warning messages to stderr (#2612)
* logger: send warning messages to stderr
Fix #2561
* logger: filter warnings for stdout
|
2019-10-16 03:12:00 +03:00 |
|
Casper da Costa-Luis
|
ea8f4ba231
|
slight test update
|
2019-08-11 01:26:01 +01:00 |
|
Casper da Costa-Luis
|
120dfff05a
|
naive test update
|
2019-08-11 01:21:50 +01:00 |
|
Casper da Costa-Luis
|
ee4248df92
|
fix and update more tests
|
2019-08-11 01:17:42 +01:00 |
|
Tadas Audinis
|
ee6a0b2875
|
tests: resolve deprecation warnings (#2028)
* tests: resolve deprecation warnings
Fixes #2021
* tests: resolve deprecation warnings
Fixes #2021
|
2019-05-24 03:12:36 +03:00 |
|
Mr. Outis
|
9978bc87a4
|
logger: fix bug that ignored the progress bar
Close #1973
|
2019-05-10 00:17:32 -07:00 |
|
Mr. Outis
|
1cac81430e
|
tests: be paranoic with caplog
|
2019-04-11 14:09:02 -05:00 |
|
Mr. Outis
|
921b39dbfe
|
tests: use pytest caplog instead of custom mock
Close #1753
|
2019-04-06 20:35:30 -06:00 |
|