| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
* Update developer requirements
* Run linter
|
| |
|
|
|
| |
* Remove old Appveyor cruft
* Fix Windows issue
|
| |
|
|
|
| |
* Add isort to pre-commit
* Run isort on all python files (except __init__.py ones)
|
| |
|
|
|
|
|
| |
* CI: sync up black dev requirements version with precommit
* Run black
Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
|
| |
|
| |
[ci skip]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| | |
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Fix StopIteration handling which breaks in python 3.7
Fixes #3046
* Shift from testing py3.4 to py3.7 in travis
* Allow failures on python 3.7
* Try testing py37-dev version
|
| |
|
|
|
|
|
|
|
|
| |
Found via `codespell -q 3 -I ../networkx-whitelist.txt` where whitelist consisted of:
```
ans
childs
iff
nd
te
```
|
| | |
|
| | |
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit changes the implementation of the `write_graph6` function so
that it makes better use of iterators and writes directly to file
instead of buffering the entire encoding of the graph as a string in
memory before writing. This commit also removes the `generate_graph6`
function, since it's functionality can be simulated by using the
`write_graph6` function to write to a file.
This change requires updating the code to explicitly require `bytes`
when reading and writing graph6 data. This means updating `sparse6` code
as well.
Finally, this commit standardizes the graph6 and sparse6
encoding/decoding functions into four functions each: `to_graph6_bytes`,
`from_graph6_bytes`, `read_graph6`, and `write_graph6`, and the
corresponding functions for sparse6.
|
| |/ |
|
| |
|
|
|
|
|
|
|
|
| |
Some interesting finds here and one that I don't understand.
Using OrderedGraph is helpful in writing tests of output to get deterministic order. But OrderedDict __repr__ is 'OrderedDict()' so I made an ugly modification in generate_edgelist.
I don't understand why the sparse6 write requires the sorted order to pass the tests. There might be a bug here.
I fixed a bug in graph6 where the nodes needed to be sorted
|
| |
|
|
| |
Also remove outdated sphinx.ext.pngmath (RTD uses mathjax now)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|