mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
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:
committed by
Ruslan Kuprieiev
parent
27b63e2674
commit
88f45c2348
+1
-1
@@ -5,7 +5,7 @@ test_patterns = [
|
||||
]
|
||||
|
||||
exclude_patterns = [
|
||||
|
||||
'dvc/utils/compat.py'
|
||||
]
|
||||
|
||||
[[analyzers]]
|
||||
|
||||
Reference in New Issue
Block a user