You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use `the black formatter <https://black.readthedocs.io/en/stable/>`_. Before sending your changes, be sure to execute the black package to style the resulting files.
71
-
The quickest way to do this is to run:
71
+
The quickest way to do this is to run::
72
72
73
73
python -m black pulp
74
74
75
75
And it will do the changes directly on the files.
76
76
77
77
The easiest way is to integrate it inside your IDE so it runs every time you save a file. Learn how to do that `in the black integration docs <https://black.readthedocs.io/en/stable/integrations/editors.html>`_.
78
78
79
+
Checking types with mypy
80
+
-------------------------------------
81
+
82
+
We use `the mypy type checker <https://mypy.readthedocs.io/en/stable/index.html>`_. Before sending your changes, be sure to execute the mypy package to check the types.
83
+
The quickest way to do this is to run::
84
+
85
+
python -m mypy ./
86
+
87
+
Fix all the errors you see before pushing the changes.
0 commit comments