Skip to content

Rewrite and synthetis the installation doc #6622

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

Merged

Conversation

Pierre-Sassoulas
Copy link
Member

Type of Changes

Type
βœ“ πŸ”¨ Refactoring
βœ“ πŸ“œ Docs

Description

Add title for python 2 compatible version in changelog and add information
about installation for older interpreters. Refactor ide integration and put it in
the installation part for clarity.

Small reviewable part of #6589 and follow-up to #6613

@coveralls
Copy link

coveralls commented May 16, 2022

Pull Request Test Coverage Report for Build 2332644728

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 95.363%

Totals Coverage Status
Change from base Build 2332388025: 0.0%
Covered Lines: 16060
Relevant Lines: 16841

πŸ’› - Coveralls

Copy link
Collaborator

@DanielNoord DanielNoord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good itself! I like how stuff gets a more dedicated place.

| fatal | pylintCategorySeverity.fatal | Error |
+----------------------+-----------------------------------+------------------+

.. _Pylint command line arguments: https://pylint.pycqa.org/en/latest/user_guide/run.html#command-line-options
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably use an internal link here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, I just copy pasted / burst the previous content without checking.

Comment on lines 22 to 26
If a newer version does not work for you, we do not maintain pylint for EOL python,
so the best available pylint might be an old version that works with your old interpreter but
without the bug fixes and feature of latest pylints.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If a newer version does not work for you, we do not maintain pylint for EOL python,
so the best available pylint might be an old version that works with your old interpreter but
without the bug fixes and feature of latest pylints.

A bit redundant I think.


Pylint should be easily installable using pip.
NB: You can also use ``conda`` or your system package manager on debian based OS.
There package manager lag a little behind as it's maintained by a separate entity.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
There package manager lag a little behind as it's maintained by a separate entity.
However, the available version can lag behind a little as it's maintained by a separate entity.

@Pierre-Sassoulas Pierre-Sassoulas force-pushed the rewrite-the-installation-doc branch 2 times, most recently from c7119c5 to 255deb5 Compare May 16, 2022 10:48
- gedit_
- `Jupyter Notebook`_
- Komodo_
- PyCharm_ :ref:`the section below <pylint_in_pycharm>`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- PyCharm_ :ref:`the section below <pylint_in_pycharm>`
- PyCharm_, see our:ref:`tutorial <pylint_in_pycharm>`

Copy link
Member Author

@Pierre-Sassoulas Pierre-Sassoulas May 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the link to the IDE, if you're searching a pylint plugin for it you don't need to learn about your own IDE.

@Pierre-Sassoulas Pierre-Sassoulas force-pushed the rewrite-the-installation-doc branch from 255deb5 to 0039e90 Compare May 16, 2022 11:16
Comment on lines +6 to +12
.. warning::
If you're reading this doc and are actually using flymake please
open a support question at https://github.com/PyCQA/pylint/issues/new/choose
and tell us, we don't have any maintainers for emacs and are thinking about
dropping the support.

.. TODO 3.0, do we still need to support flymake ?
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a warning here.

Comment on lines 6 to 9
See external documentation:

- Linting python: https://code.visualstudio.com/docs/python/linting
- Pylint Extension: https://marketplace.visualstudio.com/items?itemName=ms-python.pylint
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the external doc here, I'm hesitating to simply remove our own doc and only link one of the link.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd be okay with removing it. There is a bit of duplication with other sections as well.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the two that had better doc elsewhere.

@Pierre-Sassoulas Pierre-Sassoulas force-pushed the rewrite-the-installation-doc branch from 2b91edf to a820d1e Compare May 16, 2022 11:31
Comment on lines 6 to 9
See external documentation:

- Linting python: https://code.visualstudio.com/docs/python/linting
- Pylint Extension: https://marketplace.visualstudio.com/items?itemName=ms-python.pylint
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd be okay with removing it. There is a bit of duplication with other sections as well.

@Pierre-Sassoulas Pierre-Sassoulas force-pushed the rewrite-the-installation-doc branch from 470ec5b to c5d29c5 Compare May 16, 2022 12:27
- :ref:`TextMate <pylint_in_textmate>`
- Vim_
- `Visual Studio Code`_ in the `Preferences -> Settings` menu
- `Visual Studio`_ in the `Python > Run PyLint` command on a project's context menu.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't there a link to the pylint extension here as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed !

@Pierre-Sassoulas Pierre-Sassoulas force-pushed the rewrite-the-installation-doc branch from c5d29c5 to 1c1de9a Compare May 16, 2022 14:37
@Pierre-Sassoulas Pierre-Sassoulas merged commit a57fb82 into pylint-dev:main May 16, 2022
@Pierre-Sassoulas Pierre-Sassoulas deleted the rewrite-the-installation-doc branch May 16, 2022 14:57
@Pierre-Sassoulas Pierre-Sassoulas removed this from the 2.14.0 milestone May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants