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.1.tar.gz (16.4 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.1-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: linter_adapters-0.1.1.tar.gz
  • Upload date:
  • Size: 16.4 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.1.tar.gz
Algorithm Hash digest
SHA256 2d929fa9589b3be6859dccfcd667e84cd3c9cc2ec5ce856ff5d29fd96603ec70
MD5 bcc933e68628b6eb075082e73d02c91b
BLAKE2b-256 07749a84d575e07449f8dda4f25bd0a933e0dbe20e14a94905fc535068fd378e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for linter_adapters-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 840622742d8089b851f358af7caa52c09746d8275ad83e7247538dcd6efb1336
MD5 f5d890633d5fa62d4f40e07b69f693b1
BLAKE2b-256 664c9b1a7c50883165d7b5c99445289abbfd9929f4ffa98094f5e28bbaa70466

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