MrPowers / quinn

pyspark methods to enhance developer productivity 📣 👯 🎉
https://mrpowers.github.io/quinn/
Apache License 2.0
597 stars 93 forks source link

Update search_file(s) to return counts of each keyword #214

Open MrPowers opened 4 months ago

MrPowers commented 4 months ago

Feature Type

Problem Description

There are search_file and search_file methods that print out all the instances of prohibited keywords in a repo, but these functions don't return anything.

Feature Description

Update the search_file and search_files methods to return a dictionary with a count of the number of keywords in the file/files.

Additional Context

No response