HomeDocs
DocsCommunityTestimonialsUsersGitHubTwitterBlogJobsTermsPrivacyCookies
TermsPrivacyCookies
Hey! These docs are for version 2.8, which is no longer officially supported. Click here for the latest version, 2.18!


Configuration for source file validation.

Config section: <span style="color: purple"><code>[sourcefile-validation]</code></span>

## Basic options

<div style="color: purple"> <h3><code>config</code></h3> <code>--sourcefile-validation-config=&quot;{'key1': val1, 'key2': val2, ...}&quot;</code><br> <code>PANTS_SOURCEFILE_VALIDATION_CONFIG</code><br> </div> <div style="padding-left: 2em;"> <span style="color: green">default: <code>{}</code></span>

<br>

Config schema is as follows:



Meaning: if a file matches some path pattern, its content must match all the corresponding content patterns.

</div> <br>

## Advanced options

None

## Deprecated options

None