mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add mentioned of Salt's Coding Style docs to the Contributing docs
This commit is contained in:
parent
6075774a01
commit
6b526b5878
2 changed files with 19 additions and 0 deletions
|
@ -13,6 +13,21 @@ There are a number of ways to contribute to Salt development.
|
|||
For details on how to contribute documentation improvements please review
|
||||
:ref:`Writing Salt Documentation <salt-docs>`.
|
||||
|
||||
|
||||
Salt Coding Style
|
||||
-----------------
|
||||
|
||||
SaltStack has its own coding style guide that informs contributors on various coding
|
||||
approaches. Please review the :ref:`Salt Coding Style<coding-style>`_ documentation
|
||||
for information about Salt's particular coding patterns.
|
||||
|
||||
Within the :ref:`Salt Coding Style<coding-style>`_ documentation, there is a section
|
||||
about running Salt's ``.pylintrc`` file. SaltStack recommends running the ``.pylintrc``
|
||||
file on any files you are changing with your code contribution before submitting a
|
||||
pull request to Salt's repository. Please see the :ref:`Linting<pylint-instructions>`_
|
||||
documentation for more information.
|
||||
|
||||
|
||||
.. _github-pull-request:
|
||||
|
||||
Sending a GitHub pull request
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. _coding-style:
|
||||
|
||||
=================
|
||||
Salt Coding Style
|
||||
=================
|
||||
|
@ -15,6 +17,8 @@ no grounds to treat others without respect, especially people working to
|
|||
improve Salt)!!
|
||||
|
||||
|
||||
.. _pylint-instructions:
|
||||
|
||||
Linting
|
||||
=======
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue