| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
(#6040)
|
| | |
|
| |
|
|
|
| |
* Add isort to pre-commit
* Run isort on all python files (except __init__.py ones)
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Deprecate attrs dict in json_graph.tree fns.
Replace attrs dict in signature with explicit kwargs and
add deprecation warning.
Adds tests that the behavior isn't changed and that warnings are
raised when expected.
* Add deprecations to list and ignore warnings in conftest.
* Modify cytoscape functions attrs deprecation.
* Cleanup cytoscape test suite.
|
| |
|
|
| |
Co-authored-by: Dan Schult <dschult@colgate.edu>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| |
|
| |
one is duplicate and one is self-referential. https://networkx.github.io/documentation/stable/reference/readwrite/generated/networkx.readwrite.json_graph.tree_data.html
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Format code w/ black
* Format docstrings w/ black
* Manual cleanup
* Tell pytest to ignore planned deprecations
* Don't call plt.show during testing
* Another known deprecation
* DOC: rm duplicate line from docstring example
* Minor cleanup
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| | |
|
| |
|
|
| |
find networkx -name \*.py -exec pyupgrade --py36-plus {} \;
|
| |
|
|
|
|
|
|
|
| |
The copyright and author stuff is not necessary, out-of-date,
and inconsistent. It takes up visual space and is a pain to
police everyone doing the same thing on the top of the module.
Git handles authorship in a comprehensive and authoritative way.
The LICENSE.txt file applies to all project code.
|
| | |
|
| |
|
|
|
|
| |
* Fixed problem in documentation view of this function
* Replacing `Return` to `Returns` in function docs
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
* move selfloop methods out of graph classes into function.py
* replace G.node with G.nodes. fix Pickle of views
* Replace G.edge with G.edges
* Add a few lines of docs for release realted to this PR.
|
| |
|
|
|
|
|
|
| |
I also went through and modified all attr_dict references to either
directly assign keywords to node/edge attributes, or use the ** syntax
to unpack the dictionaries. The only case of these I couldn't do is
networkx.convert.py -- largely because I don't understand how multigraph
edges work.
|
| | |
|
| | |
|
|
|
Addresses #482
|