mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Refactor code to comply with flake8 and isort
Signed-off-by: Filipe Laíns <lains@archlinux.org> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
48b58b1c2f
commit
8d1be7ea8a
11 changed files with 206 additions and 197 deletions
|
@ -16,4 +16,4 @@ class Translator:
|
|||
self._localedir,
|
||||
languages=[lang])
|
||||
self._translator[lang].install()
|
||||
return _(s)
|
||||
return _(s) # _ is not defined, what is this? # noqa: F821
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue