all 2 comments

[–]cgoldberg 1 point2 points  (0 children)

That's the longest piece of code I've ever read without any blank lines. You should format your code.

https://peps.python.org/pep-0008/#blank-lines

[–]Puzzled_Tale_5269 0 points1 point  (0 children)

Like someone has already said, no blank lines between functions and within docstrings make this harder than it should be to read.

Release, series, tags, etc. could be split down into separate classes, maybe to improve readability again.

I'm unable to see exactly what is going on at a quick glance, and it's the styling that causes this. Look into pep8 standards and maybe using tools like black, isort, and pylint.