diff --git a/docs/contributing/contribution_quickref.rst b/docs/contributing/contribution_quickref.rst index ba91623ab22b..58971b55270e 100644 --- a/docs/contributing/contribution_quickref.rst +++ b/docs/contributing/contribution_quickref.rst @@ -131,6 +131,19 @@ To visualize your patch in the repository, run: :ref:`More information ` +To make sure the change follows the coding style +------------------------------------------------ + +To detect coding style violations, use mach lint: + +.. code-block:: shell + + $ ./mach lint path/to/the/file/or/directory/you/changed + + # To get the autofix, add --fix: + $ ./mach lint path/to/the/file/or/directory/you/changed --fix + +:ref:`More information ` To test a change locally ------------------------