After the weld, we will need to align both repositories code-style rules, and one of them is code line-length.
EEST currently uses a line length of 100 while EELS uses 79.
EEST will change its line length to match EELS, but the full conversion will be done over at the execution-specs repository.
In the meantime we can reformat docstrings to have a maximum line length of 79.
We can do this using docformatter, which out of the box does not exactly do what we need, but a small change to its code base results it in correctly formatting the docstrings in the way we need it.
To run it we can do:
uv run --with git+https://github.com/marioevz/docformatter.git@master docformatter --wrap-summaries 79 --wrap-descriptions 79 --make-summary-multi-line -i src/ethereum_test_types/block_types.py
And replace src/ethereum_test_types/block_types.py with the file to reformat.
Folders to reformat docstrings:
After the weld, we will need to align both repositories code-style rules, and one of them is code line-length.
EEST currently uses a line length of 100 while EELS uses 79.
EEST will change its line length to match EELS, but the full conversion will be done over at the execution-specs repository.
In the meantime we can reformat docstrings to have a maximum line length of 79.
We can do this using
docformatter, which out of the box does not exactly do what we need, but a small change to its code base results it in correctly formatting the docstrings in the way we need it.To run it we can do:
And replace
src/ethereum_test_types/block_types.pywith the file to reformat.Folders to reformat docstrings: