Skip to main content

Wrapper for profanity checker that can work on python services/scripts, similar to linters (e.g. pylint)

Project description

pro-checker

Build Status

Prof-checker

This is wrapper over profanity-check by vzhou842

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.

Installation

$ pip install prof-checker

Rough benchmarks

As this is wrapper around profanity-check the performance greatly depends on the package. These benchmarks are only rought estimates.

Files LoC Time (ms)
500 250K 7230
22 4.3K 1200
70 20.6K 1510

Usage

For help

prof_checker -h

To check test.py:

prof_checker test.py

To check all files in directory:

find . -name \*.py | xargs prof_checker

To override threshold:

prof_checker -P 0.5 test.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for prof-checker, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size prof-checker-1.0.2.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page