Skip to content

Commit

Permalink
Update contribute.rst (#1350)
Browse files Browse the repository at this point in the history
  • Loading branch information
SandraGH5 authored Aug 18, 2021
1 parent 7a83beb commit 247dc4d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions rsts/community/contribute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Example PR for your reference: `GitHub PR <https://github.com/flyteorg/flyteprop
#. To improve code coverage, write unit tests to test your code.

.. note::
Format your Go code with ``golangci-lint`` followed by ``goimports`` (we used the same in the `Makefile <https://github.com/flyteorg/flytepropeller/blob/eaf084934de5d630cd4c11aae15ecae780cc787e/boilerplate/lyft/golang_test_targets/Makefile#L11-L19>`__), and Python code with ``black`` (use ``make fmt`` command which contains both black and isort).
Format your Go code with ``golangci-lint`` followed by ``goimports`` (we used the same in the `Makefile <https://github.com/flyteorg/flytepropeller/blob/eaf084934de5d630cd4c11aae15ecae780cc787e/boilerplate/lyft/golang_test_targets/Makefile#L11-L19>`__), and Python code with ``black`` (use ``make fmt`` command which contains both black and isort). Refer to `Effective Go <https://golang.org/doc/effective_go>`_ and `Black <https://github.com/psf/black>`_ for full coding standards.

Component Reference
===================
Expand Down Expand Up @@ -319,4 +319,7 @@ Output:

:py:func:`Function <python:typing.cast>`

:py:meth:`Method <python:pprint.PrettyPrinter.format>`
:py:meth:`Method <python:pprint.PrettyPrinter.format>`


For feedback at any point in the contribution process, feel free to reach out to us using the links on our `Community <https://docs.flyte.org/en/latest/community/index.html>`_ page.

0 comments on commit 247dc4d

Please sign in to comment.