Drasil icon indicating copy to clipboard operation
Drasil copied to clipboard

Generated Python header comment missing empty line beneath

Open B-rando1 opened this issue 9 months ago • 1 comments

I noticed it in the ReadTable file from GlassBR, there's no empty line between the header comment block and the comment block for the first function:

https://github.com/JacquesCarette/Drasil/blob/f34609c5fee391de84fbb112b6bbaf15b0dfffe9/code/stable/glassbr/src/python/ReadTable.py#L1-L10

My guess is that this happens whenever there are no import statements. I took a quick look at the other targets, and it seems to only happen with the Python target. As far as I know this is not intended.

B-rando1 avatar May 09 '24 21:05 B-rando1

Yes @B-rando1, I agree that an extra blank line would make the code easier to read. The current behaviour was not intended.

smiths avatar May 09 '24 21:05 smiths