Skip to content

Commit

Permalink
Exclude compat files from DeepSource analysis (iterative#2670)
Browse files Browse the repository at this point in the history
Hi team,

I just [noticed](iterative#2548 (comment)) 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
  • Loading branch information
sanketsaurav authored and efiop committed Oct 25, 2019
1 parent 27b63e2 commit 88f45c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ test_patterns = [
]

exclude_patterns = [

'dvc/utils/compat.py'
]

[[analyzers]]
Expand Down

0 comments on commit 88f45c2

Please sign in to comment.