Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/coolcat467/lintcheck

Python IDLE extension to preform pylint analysis on an open file.
https://github.com/coolcat467/lintcheck

analysis coolcat467 extension idle pylint python python-idle python3

Last synced: about 7 hours ago
JSON representation

Python IDLE extension to preform pylint analysis on an open file.

Awesome Lists containing this project

README

        

# LintCheck
Python IDLE extension to perform pylint analysis on an open file

[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
[![code style: black](https://img.shields.io/badge/code_style-black-000000.svg)](https://github.com/psf/black)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

## Installation (Without root permissions)
1) Go to terminal and install with `pip install lintcheck[user]`.
2) Run command `idleuserextend; lintcheck`. You should see the following
output: `Config should be good! Config should be good!`.
3) Open IDLE, go to `Options` -> `Configure IDLE` -> `Extensions`.
If everything went well, alongside `ZzDummy` there should be and
option called `lintcheck`. This is where you can configure how
lintcheck works.

## Installation (Legacy, needs root permission)
1) Go to terminal and install with `pip install lintcheck`.
2) Run command `lintcheck`. You will likely see a message saying
`lintcheck not in system registered extensions!`. Run the command
given to add lintcheck to your system's IDLE extension config file.
3) Again run command `lintcheck`. This time, you should see the following
output: `Config should be good!`.
4) Open IDLE, go to `Options` -> `Configure IDLE` -> `Extensions`.
If everything went well, alongside `ZzDummy` there should be and
option called `lintcheck`. This is where you can configure how
lintcheck works.

### Information on options
Option `ignore` is a list of pylint messages,
separated by semicolons (;) that should be disabled using `--disable`.
See `pylint --help` for more information.

Option `jobs` is the number of processes pylint should use when
checking your code, using `--jobs`. See `pylint --help` for more information.

Option `search_wrap` is a boolian of whether or not searching for
the next `# lintcheck: ` comment will wrap around or not, defaults to
False.