← All posts

Release: Ignore issues in all test files

No configuration needed. One click, and done!

Header image
By Sanket on 
Share on Twitter Share on LinkedIn Share on Facebook

Making quality and security issues raised in code more relevant is the prime directive for us here at DeepSource. This includes giving developers more control on the results, so it becomes easy for them to take action and improve their code.

It is possible to specify where the test files are located in a project with the test_patterns property in .deepsource.toml (docs). If the patterns are specified, DeepSource uses this information to filter out a number of issues that don’t make sense in test files, but do so in the application code.

It’s now possible for you to create these rules for test files yourself easily from the Issues tab in your project’s dashboard. All rules created would be available to audit in SettingsIgnore rules.

Ignore in all test files action

We’re excited about this release as it helps developers make the results make work for them better. Let us know what you think!

About DeepSource
DeepSource helps you automatically find and fix issues in your code during code reviews, such as bug risks, anti-patterns, performance issues, and security flaws. It takes less than 5 minutes to set up with your Bitbucket, GitHub, or GitLab account. It works for Python, Go, Ruby, and JavaScript.
Get started for free

Keep reading...