pysal / spaghetti

SPAtial GrapHs: nETworks, Topology, & Inference
http://pysal.org/spaghetti/
BSD 3-Clause "New" or "Revised" License
260 stars 69 forks source link

Utilize `ruff-format` over `black` for formatting #752

Closed jGaboardi closed 6 months ago

jGaboardi commented 7 months ago

This PR follows up #751 by adopting ruff-format over black for formatting.

xref: https://github.com/pysal/libpysal/pull/662

codecov[bot] commented 7 months ago

Codecov Report

Merging #752 (171d124) into main (6b3294c) will not change coverage. The diff coverage is 100.0%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/pysal/spaghetti/pull/752/graphs/tree.svg?width=650&height=150&src=pr&token=CdbQLUL9pT&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal)](https://app.codecov.io/gh/pysal/spaghetti/pull/752?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal) ```diff @@ Coverage Diff @@ ## main #752 +/- ## ===================================== Coverage 99.3% 99.3% ===================================== Files 4 4 Lines 1140 1140 ===================================== Hits 1132 1132 Misses 8 8 ``` | [Files](https://app.codecov.io/gh/pysal/spaghetti/pull/752?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal) | Coverage Δ | | |---|---|---| | [spaghetti/network.py](https://app.codecov.io/gh/pysal/spaghetti/pull/752?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal#diff-c3BhZ2hldHRpL25ldHdvcmsucHk=) | `99.1% <100.0%> (ø)` | | | [spaghetti/util.py](https://app.codecov.io/gh/pysal/spaghetti/pull/752?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal#diff-c3BhZ2hldHRpL3V0aWwucHk=) | `100.0% <100.0%> (ø)` | |
jGaboardi commented 6 months ago

@martinfleis gentle ping here.