From 88f45c2348fe72adc2f2ae4cbe5e8c87ed37346f Mon Sep 17 00:00:00 2001 From: Sanket Saurav Date: Fri, 25 Oct 2019 17:58:09 +0530 Subject: [PATCH] Exclude compat files from DeepSource analysis (#2670) Hi team, I just [noticed](https://github.com/iterative/dvc/pull/2548#issuecomment-536255251) that there are could be quite a number of false-positives in `dvc/utils/compat.py` because of, well, the things we have to do for compatibility. I would recommend adding that file to `exclude_patterns` to prevent the noise. I've proposed that in this PR. We've seen some other projects report this as well, and we're working on proactively suggesting this via the product UI to make it easier. Hope this helps! Best, Sanket Founder, DeepSource --- .deepsource.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.deepsource.toml b/.deepsource.toml index 5be560e0f..94f915ff1 100644 --- a/.deepsource.toml +++ b/.deepsource.toml @@ -5,7 +5,7 @@ test_patterns = [ ] exclude_patterns = [ - + 'dvc/utils/compat.py' ] [[analyzers]]