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.0.tar.gz (14.2 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.0-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: linter_adapters-0.1.0.tar.gz
  • Upload date:
  • Size: 14.2 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.0.tar.gz
Algorithm Hash digest
SHA256 1158a77b5e289eb39418295f80f02e65d1b5939c34f4e86738731d0683ab8764
MD5 bfe238ebad271a57df9e029eb25b6681
BLAKE2b-256 1fa4faf5f30ec632fc90f5e40a453b3aad72fc10bd7b4e9f3e79570a29a62816

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for linter_adapters-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 849d1c2d139ce34adb3cdda48778669da23148e6eae5918b7bb349095dd360a0
MD5 6ba6575516de84fe3712c482e64fac01
BLAKE2b-256 bc9bb0a8cc0852b6a7bbdbb9045a189da6d4f18662ea93e2a1ffdad48bbd5a9f

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