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.

Source Distribution

prof-checker-1.0.2.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file prof-checker-1.0.2.tar.gz.

File metadata

  • Download URL: prof-checker-1.0.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for prof-checker-1.0.2.tar.gz
Algorithm Hash digest
SHA256 ed3e3b0f0df15f547e5ea23360b9ea58593142d3d03ed1e291b1311346b60f3e
MD5 81a61b87f0221db3a6e1094e3cc8e976
BLAKE2b-256 98e87332ddf2151bfa9a248e1533d13eb1b5f579b9d857d50121d66c7d289357

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page