summaryrefslogtreecommitdiff
path: root/networkx/algorithms/moral.py
Commit message (Collapse)AuthorAgeFilesLines
* Use isort with pre-commit to enforce import guidelines (#5659)Mridul Seth2022-06-021-1/+2
| | | | | * Add isort to pre-commit * Run isort on all python files (except __init__.py ones)
* Rm unnecessary input validation from moral_graph. (#5638)Ross Barnowski2022-05-141-3/+0
|
* added example on moral graph (#5633)Lukong1232022-05-131-0/+12
| | | | | * added example on moral graph * added raise networkxnotimplemented
* DOC: Switch from napoleon to numpydoc sphinx extension (#4447)Ross Barnowski2020-12-121-1/+1
| | | | | | | * Setup for numpydoc. * Add to doc requirements. * Replace napoleon with numpydoc in conf.py. * DOC: Fixups from numpydoc.
* Format w/ black==20.8b1Jarrod Millman2020-10-061-26/+26
|
* Format w/ blackJarrod Millman2020-07-101-2/+2
|
* Remove superfluous encoding informationJarrod Millman2019-11-111-1/+0
|
* Remove boiler plate from top of modulesJarrod Millman2019-11-111-8/+0
| | | | | | | | | 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.
* Remove unused importsJarrod Millman2019-10-181-1/+0
|
* Update copyrightJarrod Millman2019-03-301-2/+2
|
* Create moral graph (#3351)Julien Klaus2019-03-281-0/+57
* Create moral package and moralize function. * Removal of main and adjust of documentation. * Test to validate moralization. * Documentation of init of package moral. * Move files to algorithm and tests instead of package moral * Rst file for moral algorithm * list moral in the index * rename function from get_moral_graph to moral_graph * simplify and fasten code through pred.values