Skip to main content

Watch your language young lad! Swears and 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 and polish languages are supported.

Installation

flake8>=3.3.0 is required for the installation.

pip install flake8-koles

Usage

flake8 --ignore-shorties 4 --censor-msg --lang=english,polish
Options
OPTION DEFAULT DESCRIPTION
--ignore-shorties 0 ignore bad words shorter or equal to the argument
--censor-msg False replace bad words not leading letters with * in error messages
--lang english use bad words from the selected languages

Development notes

Makefile commands
COMMAND DESCRIPTION
make coverage_html generate and open html coverage report in the default browser
make flake8 run flake8
make mypy run mypy
make lint run all linters
make safety run safety check
make unittests run unittests with coverage report
make yamllint run 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.2.tar.gz (7.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: flake8-koles-0.1.2.tar.gz
  • Upload date:
  • Size: 7.2 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.2.tar.gz
Algorithm Hash digest
SHA256 ffb7552b3bb1c50eeb0814116116c73f4a1634141967b04181de393970ccc78a
MD5 90206824a02f54e2a633115c0a814c3e
BLAKE2b-256 aacec3b5955f91ec81107b1e117c4d36ceb779dd3a89fef02f7fb3d241d54f9d

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