Merge pull request #52 from kolayv/patch-4

disabled inspection for pycharm
This commit is contained in:
Alex Root Junior 2018-07-02 16:22:19 +03:00 committed by GitHub
commit 69fa3021b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,6 +106,7 @@ class I18nMiddleware(BaseMiddleware):
else: else:
return translator.ngettext(singular, plural, n) return translator.ngettext(singular, plural, n)
# noinspection PyMethodMayBeStatic,PyUnusedLocal
async def get_user_locale(self, action: str, args: Tuple[Any]) -> str: async def get_user_locale(self, action: str, args: Tuple[Any]) -> str:
""" """
User locale getter User locale getter