Skip to content

Ignoring files#

In some situations, you may want to ignore or exclude files from the Codacy analysis.

To exclude files from your repository analysis open your repository Settings, tab Ignored Files, and select the files you want to ignore. This view only shows the files on your main branch.

Ignored files

You can also ignore files using your own tool configuration files, although this depends on the option being supported by each tool.

If you need more flexibility in ignoring files, such as selecting only specific analysis categories (duplication, metrics, or coverage) or specific tools, use a Codacy configuration file instead.

By default, Codacy also ignores files matching the following regular expressions:



Did this page help you?

Thank you for the feedback!

We're sorry to hear that. Please let us know what we can improve.

If you have a question, please ask our community or contact

Last modified April 21, 2021