AstuteSource / chasten

:dizzy: Chasten Uses XML and XPATH to Check a Python Program's AST for Specified Patterns!
https://pypi.org/project/chasten/
GNU General Public License v2.0
7 stars 8 forks source link

Added Summaries for the Count of Checks Accross All Matched Files 2 #96

Open hankgref opened 8 months ago

hankgref commented 8 months ago

In order to provide a summary to the count of checks throughout the output, I added some lines of code to the end of the output which would display the subtotal of all of the checks. The code is as follows:

opt_print_log("Sub-total for the number of matches:")
opt_print_log((current_check._matches))
KellerLiptrap commented 8 months ago

@hankgref I think this is a good start. You may want to add another print that will display the number of files in the output. Maybe using a loop to count each file.

boulais01 commented 8 months ago

Hey @hankgref, please consider updating this to pass the checks and requesting review if this is complete.

boulais01 commented 7 months ago

@hankgref Can you give on update on this PR?

boulais01 commented 7 months ago

@hankgref Can you give on update on this PR?

Finley8 commented 7 months ago

Hello Hank, I would love to see an update on this PR. Is there anything you would like some help with?