change max_line_length in pylama.ini
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
mitsuha_s 2022-07-08 21:09:10 +00:00
parent 53fa8caf1e
commit 5bb83c2a09
2 changed files with 3 additions and 3 deletions

View file

@ -100,7 +100,7 @@ class Database:
def find_feed_subscribers(self, feed_id: int) -> list[int]: def find_feed_subscribers(self, feed_id: int) -> list[int]:
"""Return feed subscribers""" """Return feed subscribers"""
self.cur.execute('SELECT telegram_id FROM users WHERE id IN (SELECT user_id FROM subscriptions WHERE feed_id = ?)', self.cur.execute('SELECT telegram_id FROM users WHERE id IN (SELECT user_id FROM subscriptions WHERE feed_id = ?)',
[feed_id]) [feed_id])
subscribers = self.cur.fetchall() subscribers = self.cur.fetchall()
return list(map(lambda x: x['telegram_id'], subscribers)) return list(map(lambda x: x['telegram_id'], subscribers))

View file

@ -6,9 +6,9 @@ linters = pyflakes,pylint,pycodestyle
ignore = F0401,C0114,R0903,C0115,C0116,W0511 ignore = F0401,C0114,R0903,C0115,C0116,W0511
[pylama:pylint] [pylama:pylint]
max_line_length = 120 max_line_length = 130
score = yes score = yes
[pylama:pycodestyle] [pylama:pycodestyle]
# Maximum length of each line # Maximum length of each line
max_line_length = 120 max_line_length = 130