Skip to main content

Watch your language young lad! Swears nad curses linter.

Project description

flake8-koles

Build Status Coverage Status image image

Watch your language young pal!

Flake8 extension for checking bad language occurrences. Lists all swears found in the code and their location. For now only english language is supported.

Installation

flake8 is required for the installation.

pip install flake8-koles

Usage

flake8 --ignore-shorties 4 --censor-msg

--ignore-shorties <number> - ignores bad words shorter or equal to <number>

--censor-msg - replaces bad words not leading letters with * in error messages

Development notes

make lint - runs all linters

make flake8 - runs flake8

make unittests - runs unittests with coverage report and -s flag

make mypy - runs mypy

make yamllint - runs yamllint

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

flake8-koles-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file flake8-koles-0.1.0.tar.gz.

File metadata

  • Download URL: flake8-koles-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

File hashes

Hashes for flake8-koles-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f5085fbb20a78714f68c9e1e251f4731e87ac1449ab5e82296ec37d4754344c5
MD5 40a7276a85e934a41c8d1ba81c5412e8
BLAKE2b-256 35d0d2adfaa545ceddc2edc8cd020373b051cc8471f22865e0dbdc4751144165

See more details on using hashes here.

Supported by

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