[Libre-soc-bugs] [Bug 448] MUL pipeline unit tests

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Aug 6 19:03:17 BST 2020


https://bugs.libre-soc.org/show_bug.cgi?id=448

--- Comment #42 from Cole Poirier <colepoirier at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #41)
>         test_values = [-32768, -32767, -32766, -2, -1, 0, 1, 2, 32766,
> 32767, random.randint(-1 << 15, (1 << 15)-1), random.randint(-1 << 15, (
>             1 << 15) - 1), random.randint(-1 << 15, (1 << 15)-1),
> random.randint(-1 << 15, (1 << 15)-1), random.randint(-1 << 15, (1 << 15)-1)]
> 
> 
> 
> 80 chars per line please.  limit the editor window to exactly 80 chars and
> there will not be a problem.
> 
> also before committing do "git diff" - in an 80 char xterm - and again
> you will immediately spot which lines "wrap" because along the left hand
> side there will be spaces or characters instead of "+" or "-".

Yes I'm having trouble with this, I set my max line length to 80 chars, and ran
autopep8 on it but I end up having the above atrocious formatting? Isn't
autopep8 supposed to enforce 80 chars? I *can* manually review *every* time in
an 80 char wide xterm, but would rather have my tools work properly. Please
help.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list