summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.rst
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2022-04-09 12:14:50 -0700
committerGitHub <noreply@github.com>2022-04-09 12:14:50 -0700
commitbb894f6275d8dd06a33b11a479637048790d00a1 (patch)
tree9cc2a430019076250a377038a174c82e6367b45d /CONTRIBUTING.rst
parentbe25ce35d7b456e10825fd48205cee929035d9a9 (diff)
downloadnetworkx-bb894f6275d8dd06a33b11a479637048790d00a1.tar.gz
Run black on docs (#5513)
* Run black on docs * Remove redundant dependencies * Format docs
Diffstat (limited to 'CONTRIBUTING.rst')
-rw-r--r--CONTRIBUTING.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
index 58b036dd..0ad02d92 100644
--- a/CONTRIBUTING.rst
+++ b/CONTRIBUTING.rst
@@ -291,13 +291,14 @@ Guidelines
.. code-block:: python
- @nx.not_implemented_for('directed', 'multigraph')
+ @nx.not_implemented_for("directed", "multigraph")
def function_not_for_MultiDiGraph(G, others):
# function not for graphs that are directed *and* multigraph
pass
- @nx.not_implemented_for('directed')
- @nx.not_implemented_for('multigraph')
+
+ @nx.not_implemented_for("directed")
+ @nx.not_implemented_for("multigraph")
def function_only_for_Graph(G, others):
# function not for directed graphs *or* for multigraphs
pass