Skip to main content

An adapter which provides categorization & descriptions on popular linters & checkers

Project description

Python Linter Adapters

Provides bridges for different linters & checkers, mostly Flake8 plugins, as well as some bridges for Flake8 as Pylint.

Features

PyCharm Integration

This package is inspired by flake8-for-pycharm which adapts Flake8 output as Pylint's JSON output. The original project stopped to work by now due to changes in Flake8 formatters API (or has it ever worked?).

To setup PyCharm integration:

  1. Install Pylint Plugin
  2. In the Settings, select flake8_as_pylint executable instead of pylint executable: pycharm-pylint-settings.png
  3. Any extra parameters would be passed directly to Flake8. The only exceptions are:
    • --output-format/-f -- passed by PyCharm. Would conflict with --format. Supports only text and json
    • --help-msg -- works as in Pylint -- shows info for the specified error codes
    • --flake8-main/-F -- new parameter, can be used to override Flake8's main function. Uses Python EntryPoint format

The results: pycharm-pylint-window.png pycharm-editor-violations.png

// Yes, I am not using those for the personal projects. Have plans to set up my own code style rules.

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

linter_adapters-0.1.2.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

linter_adapters-0.1.2-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file linter_adapters-0.1.2.tar.gz.

File metadata

  • Download URL: linter_adapters-0.1.2.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for linter_adapters-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7826fbeb52c124fcbceb895645364600b15bda8ec52a54954edc7c8e1d047404
MD5 5379d161fd9e19382c31bc85c4760424
BLAKE2b-256 e0fbb9624653f2babfae5ce935734a3ae65accd88a859c013c672c8edfc98659

See more details on using hashes here.

File details

Details for the file linter_adapters-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for linter_adapters-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d3446680b6e5f9aa29a6fc51dc24296e825bff8ea1ffb56079b3a9e3bb4b32a9
MD5 e148d406c4a81ef0b7d8bfce12defa2c
BLAKE2b-256 2183e0b7f392a230f8ed0d1be807ea4042d9e2811ca006dfe52b2ecdd7da95db

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