Skip to content
Snippets Groups Projects
Commit dfcc55c045ad authored by Laurent Peuch's avatar Laurent Peuch
Browse files

feat: run pyupgrade

parent e0683079922c
No related branches found
No related tags found
1 merge request!40feat: run pyupgrade
Pipeline #168772 passed with warnings
# -*- coding: utf-8 -*-
# copyright 2012-2022 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr -- mailto:contact@logilab.fr
#
......
......@@ -113,11 +113,11 @@
_ = self._cw._
value = self._cw.view("oneline", self._cw.eid_rset(state[1][1]))
target, eid, r_type, searched_type = self._cw.search_state[1]
cancel_link = """<a href="%(url)s" role="button"
class="btn btn-default" title="%(title)s">%(title)s</a>""" % {
"url": self._cw.build_url(str(eid), vid="edition", __mode="normal"),
"title": _("cancel"),
}
cancel_link = """<a href="{url}" role="button"
class="btn btn-default" title="{title}">{title}</a>""".format(
url=self._cw.build_url(str(eid), vid="edition", __mode="normal"),
title=_("cancel"),
)
msg = " ".join(
(
_("searching for"),
......
# -*- coding: utf-8 -*-
# copyright 2014-2022 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr -- mailto:contact@logilab.fr
#
......
# -*- coding: utf-8 -*-
#
# Squareui documentation build configuration file, created by
# sphinx-quickstart on Wed Jun 15 10:14:35 2011.
......
......@@ -58,7 +58,7 @@
for entry in ("__depends__",): # "__recommends__"):
requires.update(__pkginfo__.get(entry, {}))
install_requires = [
"{0} {1}".format(d, v and v or "").strip() for d, v in requires.items()
"{} {}".format(d, v and v or "").strip() for d, v in requires.items()
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment