Commit Graph

12 Commits

Author SHA1 Message Date
cc1fd86ede NEW: Coordinate() now accepts floats; what can possibly go wrong? 2023-12-24 12:13:58 +01:00
9386c40ea5 FIX: Coordinate.__new__(): return correct class instead of always Coordinate() (fucked up subclassing) 2023-12-23 09:44:36 +01:00
14d535911c NEW: Coordinate().__mod__() 2023-12-22 05:55:29 +01:00
fb3bef0153 Coordinate().getLineTo(): handle target == self 2023-12-18 16:38:11 +01:00
1a111488ba FIX Coordinate().getLineTo() index bug 2023-12-18 09:11:06 +01:00
b2cc1e814c FIX Coordinate().getNeighbours() min/maxY
All checks were successful
Publish to PyPI / Publish to PyPI (push) Successful in 1m4s
FIX Coordinate() not hashable after implementing __eq__
2023-12-17 08:24:19 +01:00
42cbf6f85c Coordinate().__eq__: enable comparison with tuples 2023-12-17 07:21:00 +01:00
2de9725adb Grid(): make use of the fact that Coordinate is a tupple for some speedups
All checks were successful
Publish to PyPI / Publish to PyPI (push) Successful in 1m18s
2023-12-14 16:18:25 +01:00
32c07d2913 Coordinate() now behaves more tupley-like (methods not accept tuples as parameters, including __add__ and __sub__) 2023-12-14 15:08:49 +01:00
c2f6191d69 don't need to implement comparison dunders for Coordinate anymore as it now behaves like a tuple which already includes useful comparators
All checks were successful
Publish to PyPI / Publish to PyPI (push) Successful in 1m11s
2023-11-27 06:17:59 +01:00
99c4ef2ce6 code reformatting and cleanup
Some checks failed
Publish to PyPI / Publish to PyPI (push) Failing after 5s
2023-11-11 15:37:42 +01:00
455bd34d3b build/publish pipeline 2023-11-11 15:02:27 +01:00