Skip to main content
Panther Knowledge Base

How to ignore non-Panther files when using panther-analysis-tool

Issue

I'm using panther-analysis-tool (PAT) in a directory with other, non-Panther files, but those files cause errors when I update my repository or run tests. How do I exclude a file from PAT?

Resolution

To resolve this issue, you can use PAT's --ignore-files option. For more information about this option, see our documentation here or run panther_analysis_tool --help.

Cause

This issue occurs because, by default, PAT includes all files in its operating directory.