Skip to content

Commit 7cf8bc2

Browse files
committed
Updated styleguide with black.
1 parent de8132a commit 7cf8bc2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/source/devguide/styleguide.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@ Doxygen commands, e.g., ``\brief`` instead of ``@brief``.
142142
Python
143143
------
144144

145-
Style for Python code should follow PEP8_.
145+
Style for Python code should follow PEP8_, and be formatted with black_.
146146

147147
Docstrings for functions and methods should follow numpydoc_ style.
148148

149-
Python code should work with Python 3.8+.
149+
Python code should work with Python 3.11+.
150150

151151
Use of third-party Python packages should be limited to numpy_, scipy_,
152152
matplotlib_, pandas_, and h5py_. Use of other third-party packages must be
@@ -167,3 +167,4 @@ represent a filesystem path should work with both strings and Path_ objects.
167167
.. _pathlib: https://docs.python.org/3/library/pathlib.html
168168
.. _os: https://docs.python.org/3/library/os.html
169169
.. _Path: https://docs.python.org/3/library/pathlib.html#pathlib.Path
170+
.. _black: https://black.readthedocs.io/en/stable/index.html

0 commit comments

Comments
 (0)