Skip to content

Commit

Permalink
Merge pull request #6197 from LMFDB/autopep8-patches
Browse files Browse the repository at this point in the history
Fixes by autopep8 action
  • Loading branch information
roed314 authored Oct 2, 2024
2 parents cc45184 + 715dcf4 commit 65ea15b
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions lmfdb/abvar/fq/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@ def abelian_varieties_by_gqi(g, q, iso):
properties=cl.properties(),
friends=cl.friends(),
downloads=downloads,
title ='Abelian variety isogeny class %s over $%s$' % (label, cl.field()),
title='Abelian variety isogeny class %s over $%s$' % (label, cl.field()),
bread=bread,
cl=cl,
learnmore=learnmore_list(),
KNOWL_ID ='av.fq.%s' % label
KNOWL_ID='av.fq.%s' % label
)

def url_for_label(label):
Expand Down
2 changes: 1 addition & 1 deletion lmfdb/bianchi_modular_forms/bianchi_modular_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def render_bmf_webpage(field_label, level_label, label_suffix):
friends=friends,
info=info,
learnmore=learnmore_list(),
KNOWL_ID ="mf.bianchi.%s" % label,
KNOWL_ID="mf.bianchi.%s" % label,
)


Expand Down
2 changes: 1 addition & 1 deletion lmfdb/ecnf/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def show_ecnf(nf, conductor_label, class_label, number):
friends=ec.friends,
downloads=ec.downloads,
info=info,
KNOWL_ID ="ec.%s" % label,
KNOWL_ID="ec.%s" % label,
learnmore=learnmore_list())

@ecnf_page.route("/data/<label>")
Expand Down
6 changes: 3 additions & 3 deletions lmfdb/elliptic_curves/elliptic_curve.py
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ def render_isogeny_class(iso_class):
bread=class_data.bread,
title=class_data.title,
friends=class_data.friends,
KNOWL_ID ="ec.q.%s" % iso_class,
KNOWL_ID="ec.q.%s" % iso_class,
downloads=class_data.downloads,
learnmore=learnmore_list_add(*learnmore_isog_picture) if class_data.class_size > 1 else learnmore_list())

Expand Down Expand Up @@ -772,8 +772,8 @@ def render_curve_webpage_by_label(label):
bread=data.bread, title=data.title,
friends=data.friends,
downloads=data.downloads,
KNOWL_ID ="ec.q.%s" % lmfdb_label,
BACKUP_KNOWL_ID ="ec.q.%s" % data.lmfdb_iso,
KNOWL_ID="ec.q.%s" % lmfdb_label,
BACKUP_KNOWL_ID="ec.q.%s" % data.lmfdb_iso,
learnmore=learnmore_list_add(*learnmore_curve_picture))
ec_logger.debug("Total walltime: %ss" % (time.time() - t0))
ec_logger.debug("Total cputime: %ss" % (cputime(cpt0)))
Expand Down
2 changes: 1 addition & 1 deletion lmfdb/galois_groups/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def render_group_webpage(args):
properties=prop2,
friends=friends,
downloads=downloads,
KNOWL_ID ="gg.%s" % label,
KNOWL_ID="gg.%s" % label,
learnmore=learnmore_list())

@galois_groups_page.route('/<label>/download/<download_type>')
Expand Down
2 changes: 1 addition & 1 deletion lmfdb/hilbert_modular_forms/hilbert_modular_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ def render_hmf_webpage(**args):
bread=bread,
friends=info['friends'],
learnmore=learnmore_list(),
KNOWL_ID ="mf.hilbert.%s" % label,
KNOWL_ID="mf.hilbert.%s" % label,
)

@hmf_page.route("/data/<label>")
Expand Down
2 changes: 1 addition & 1 deletion lmfdb/siegel_modular_forms/siegel_modular_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def Sp4Z_j_space(k,j):
# redirect to general page for Sp4Z_j which will display an error message
return redirect(url_for(".Sp4Z_j",k=str(k),j=str(j)))
return render_template('ModularForm_GSp4_Q_full_level_space.html',
title =r'$M_{%s, %s}(\mathrm{Sp}(4, \mathbb{Z}))$' % (k, j),
title=r'$M_{%s, %s}(\mathrm{Sp}(4, \mathbb{Z}))$' % (k, j),
bread=bread,
info=info)

Expand Down

0 comments on commit 65ea15b

Please sign in to comment.