Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/doc/en/developer/tools.rst: update info on vscode pycodestyle linter
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAyotte committed Aug 25, 2022
1 parent 0938385 commit 77a761a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/doc/en/developer/tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,12 @@ or a few related issues::

- Manual: Run ``pycodestyle path/to/the/file.py``.

- VS Code: Activate by adding the setting ``"python.linting.pycodestyleEnabled": true``, see `official VS Code documentation <https://code.visualstudio.com/docs/python/linting>`__ for details.

- VS Code: The minimal version of pycodestyle is activated by default in
``SAGE_ROOT/.vscode/settings.json`` (the corresponding setting is
``"python.linting.pycodestyleEnabled": true``). Note that the
``settings.json`` file is not ignored by git so be aware to keep it in sync
with the trac repo. For further details, see the
`official VS Code documentation <https://code.visualstudio.com/docs/python/linting>`__.
*Configuration:* ``[pycodestyle]`` block in ``SAGE_ROOT/src/tox.ini``

*Documentation:* https://pycodestyle.pycqa.org/en/latest/index.html
Expand Down

0 comments on commit 77a761a

Please sign in to comment.