inTestiGator / pytest-encourage

A pytest plugin used to turn FAILURE :x: into OPPORTUNITY :heavy_check_mark:
GNU General Public License v3.0
1 stars 0 forks source link

Prototype: write code to see if a PyLint warning is about an assert statement #3

Closed aubreypc closed 5 years ago

aubreypc commented 5 years ago

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.