When PyLint finds a problem in a source file, it outputs the line number where it occurs. Using this, we can read the source file in order to see whether that line consists of an assert statement. This will let us filter the checks to only include the relevant ones.
When PyLint finds a problem in a source file, it outputs the line number where it occurs. Using this, we can read the source file in order to see whether that line consists of an assert statement. This will let us filter the checks to only include the relevant ones.