Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pylint_plugin] Additions #2475

Merged
merged 1 commit into from
Mar 31, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 5 additions & 3 deletions integrations/linting/recipe.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ To use it when running pylint outside Conan, just add the following to your ``.p
Hook
----

There is also a "recipe_linter" hook in the `official hooks repository <https://github.com/conan-io/hooks>`_
There is also a ``recipe_linter`` hook in the `official hooks repository <https://github.com/conan-io/hooks>`_
that can be activated to run automatic linter checks on the recipes when they are exported to the conan
cache (``export``, ``create`` and ``export-pkg`` commands). Read the hook documentation for details.
You could also write your own custom linter hook to provide your own recipe quality checks.
cache (``export``, ``create`` and ``export-pkg`` commands). Since Conan 1.47, it has also being added a checker for Conan ``2.x``
deprecated imports like ``from conans import xxxxx`` (you should use ``from conan import xxxxx`` instead) as part of the ``recipe_linter`` hook.

Read the hook documentation for details. You could also write your own custom linter hook to provide your own recipe quality checks.