Open 99444c9b-4667-4341-abf6-78bb4dfc7950 opened 5 years ago
Branch: u/klui/yapf_abvar
New commits:
88bd3b3 | ran yapf on abvar directory |
Commit: 88bd3b3
There are some strange formattings IMHO. For example
if not self.is_subvariety_of_ambient_jacobian(
) or not other.is_subvariety_of_ambient_jacobian():
and
elif isinstance(
other,
ModularAbelianVariety_abstract) and other.is_subvariety(self):
and
decomp = [
AbelianVariety(f) for f in self.newform_decomposition('a')
]
I'm not convinced that all of these are improvements.
Okay, that's fair. I'll manually check it.
Branch pushed to git repo; I updated commit sha1. New commits:
ef0bb6f | manually checked style |
I just manually checked it. I mostly changed how yapf handles long sequences of method application. I didn't like how it often ended a line with (
.
This one seems okay?
decomp = [
AbelianVariety(f) for f in self.newform_decomposition('a')
]
This is of course bikeshedding, but I would write that like
decomp = [AbelianVariety(f)
for f in self.newform_decomposition('a')]
Branch pushed to git repo; I updated commit sha1. New commits:
84147ba | style change |
Replying to @jdemeyer:
This is of course bikeshedding, but I would write that like
decomp = [AbelianVariety(f) for f in self.newform_decomposition('a')]
I like that too. Thanks!
Moving tickets from the Sage 8.8 milestone that have been actively worked on in the last six months to the next release milestone (optimistically).
Ticket retargeted after milestone closed
Batch modifying tickets that will likely not be ready for 9.1, based on a review of the ticket title, branch/review status, and last modification date.
Setting new milestone based on a cursory review of ticket status, priority, and last modification date.
Setting a new milestone for this ticket based on a cursory review.
I'm about to make changes to the modular/abvar code so I figure I ran yapf on it first.
Component: modular forms
Keywords: yapf, abvar
Author: Kevin Lui
Branch/Commit: u/klui/yapf_abvar @
abf0185
Issue created by migration from https://trac.sagemath.org/ticket/27770