Watch your language young lad! Swears nad curses linter.
Project description
flake8-koles
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 hashes)