Skip to content

Commit

Permalink
Linter and bages
Browse files Browse the repository at this point in the history
  • Loading branch information
annndruha committed Sep 1, 2023
1 parent 431a6ee commit 2d861c9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,5 @@ jobs:
- uses: isort/isort-action@master
with:
requirementsFiles: "requirements.txt requirements.dev.txt"
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# python -m pip install -r requirements.txt
# python -m pip install flake8
- name: Check flake8
run: python -m flake8 --max-line-length=150 .
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
## Bot for creation GitHub issue from Telegram chat

[![version](https://img.shields.io/github/v/release/annndruha/issue-github-telegram-bot)](https://github.com/annndruha/issue-github-telegram-bot/releases)
[![GitHub license](https://img.shields.io/github/license/annndruha/issue-github-telegram-bot.svg)](https://github.com/annndruha/issue-github-telegram-bot/blob/master/LICENSE)
[![python lint](https://github.com/annndruha/issue-github-telegram-bot/actions/workflows/linter.yml/badge.svg)](https://github.com/annndruha/issue-github-telegram-bot/actions/workflows/linter.yml/badge.svg)

Only for GitHub organizations repos issues (not for personal repos issues)

#### Example usage:
Expand Down
4 changes: 2 additions & 2 deletions src/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ def __get_keyboard_setup(issue_id: str) -> InlineKeyboardMarkup:
return keyboard with 4 buttons: hide setup, change repo, change assign and close issue
"""
return InlineKeyboardMarkup([[InlineKeyboardButton('↩️', callback_data=f'quite_{issue_id}'),
InlineKeyboardButton('🗄 ', callback_data=f'rps_start'),
InlineKeyboardButton('👤', callback_data=f'members_start'),
InlineKeyboardButton('🗄 ', callback_data='rps_start'),
InlineKeyboardButton('👤', callback_data='members_start'),
InlineKeyboardButton('❌', callback_data=f'close_{issue_id}')]])


Expand Down

0 comments on commit 2d861c9

Please sign in to comment.