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
This commit is contained in:
Sanket Saurav
2019-10-25 15:28:09 +03:00
committed by Ruslan Kuprieiev
parent 27b63e2674
commit 88f45c2348
+1 -1
View File
@@ -5,7 +5,7 @@ test_patterns = [
]
exclude_patterns = [
'dvc/utils/compat.py'
]
[[analyzers]]