Closed JohannesWiesner closed 7 months ago
Code would be more readable if the duplicate checks would get their own function with their own doc-strings:
https://github.com/JohannesWiesner/demetrius/blob/1d4c6d3540a5ce0825675670a20920cf2157b8cd/demetrius.py#L166-L178
Then it would be also more easy + readable to define how the index should look like (e.g. _idx or (idx))
_idx
(idx)
Code would be more readable if the duplicate checks would get their own function with their own doc-strings:
https://github.com/JohannesWiesner/demetrius/blob/1d4c6d3540a5ce0825675670a20920cf2157b8cd/demetrius.py#L166-L178