Wrapper for profanity checker that can work on python services/scripts, similar to linters (e.g. pylint)
prof-checker is meant to work the same way as other python linters work. Depending on how big your codebase
is, it might take quite a bit of time to run this. I would not recommend running it on every PR.
$ pip install prof-checker
As this is wrapper around
profanity-check the performance greatly depends on the package. These benchmarks
are only rought estimates.
To check all files in directory:
find . -name \*.py | xargs prof_checker
To override threshold:
prof_checker -P 0.5 test.py
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.