Skip to main content

Pylint plugin which disables checks for proper integration with invoke

Project description

REUSE status Code style: black Imports: isort PyPI version Coverage Status

Invoke Plugin for Pylint

This is a plugin for pylint which disables certain checks when using invoke.

Installation

pip install invoke-plugin-for-pylint, that's it.

Usage

Add invoke_plugin_for_pylint to the list of pylint plugins.

Disabled check

  • unused-argument: Each invoke task needs a context argument even if not needed. Therefore this plugin will find all tasks and suppress all unused-argument errors when related to the context argument

Configuration

If custom decorators for invoke tasks are used which wrap invoke.task the additional-invoke-task-decorators option by checker invoke-plugin-for-pylint can be used. It's a csv list of names which indicate an invoke task.

Please note, that the names must be full qualified and reflect the name of the final function. For example, a decorator factory called "foo" in package "bar" which returns a function called "_inner", will result in the name "bar.foo._inner".

Example for the pyproject.toml:

[tool.pylint.invoke-plugin-for-pylint]
additional-invoke-task-decorators = [
    "my_package.foo.make_task._inner",
    "my_package.foo.make_other_task",
]

Development

This project uses uv. To setup a venv for development use python3.14 -m venv venv && pip install uv && uv sync --all-groups && rm -rf venv/. Then use source .venv/bin/activate to activate your venv.

Build and Publish

Execute the release action with the proper version

Support, Feedback, Contributing

This project is open to feature requests/suggestions, bug reports etc. via GitHub issues. Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines.

Code of Conduct

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.

Licensing

Copyright 2026 SAP SE or an SAP affiliate company and invoke-plugin-for-pylint contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.

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

invoke_plugin_for_pylint-5.2.0.tar.gz (82.3 kB view details)

Uploaded Source

Built Distribution

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

invoke_plugin_for_pylint-5.2.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file invoke_plugin_for_pylint-5.2.0.tar.gz.

File metadata

  • Download URL: invoke_plugin_for_pylint-5.2.0.tar.gz
  • Upload date:
  • Size: 82.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for invoke_plugin_for_pylint-5.2.0.tar.gz
Algorithm Hash digest
SHA256 a1ba85fc3f96e24e3c037f7716d417f4afa1c6fcbb02aebe49173f2dad7c7a9b
MD5 5c9290ab7be731e8ef2511d345dfbf10
BLAKE2b-256 a5c1464e6881692a1ee6fa1071112814be7fc8ad1f038348b85afa34f9766bca

See more details on using hashes here.

Provenance

The following attestation bundles were made for invoke_plugin_for_pylint-5.2.0.tar.gz:

Publisher: release.yml on SAP/invoke-plugin-for-pylint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file invoke_plugin_for_pylint-5.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for invoke_plugin_for_pylint-5.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a0813202161de3bbd1d1d72b23534a44bae0422990e0f22ab691a97a343f3b08
MD5 76a5cdb4ca599d0cce1e02a4db50b8cf
BLAKE2b-256 f3cd81baa9a49eb65ed362e473194c09e8fc0a219a1acb424ac97043892b395c

See more details on using hashes here.

Provenance

The following attestation bundles were made for invoke_plugin_for_pylint-5.2.0-py3-none-any.whl:

Publisher: release.yml on SAP/invoke-plugin-for-pylint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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