diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 1ef53ab..95477fe 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -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 . \ No newline at end of file diff --git a/README.md b/README.md index a7dea9b..98434d7 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/src/handlers.py b/src/handlers.py index 5d348ec..b190f4b 100644 --- a/src/handlers.py +++ b/src/handlers.py @@ -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}')]])