Skip to content

Conversation

@weibullguy
Copy link
Member

@weibullguy weibullguy commented Jul 23, 2025

This a large refactoring of the code base to make things more maintainable. It splits long, complex functions into smaller functions that perform a single task. New modules are introduced to better group functions by their intended purpose. Added 243 new tests and rewrote the test files to use pytest's parametrize function along with toml files containing inputs and expected outputs for each test.

The following issues were also addressed by chance:
Closes #264
Closes #270
Closes #282

* Use TokenInfo objects directly instead of tuples with attributes from TokenInfo objects.
* Move non-formatting functions to other modules.
* Add functions to determine number of blank lines after docstring for modules, classes, functions, and attributes.
* Add function to update the token indices after removing unnecessary blank lines.
* Add method to insert appropriate number of blank lines after each type of docstring.
@weibullguy weibullguy merged commit 926d9f0 into master Jul 23, 2025
7 checks passed
@weibullguy weibullguy deleted the fix/no_blank_line_after_docstring branch July 23, 2025 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants