Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
[CI/CD] some updates
Browse files Browse the repository at this point in the history
[Other] Fixing black problems
  • Loading branch information
nixxoq committed Dec 31, 2023
1 parent 7e6993a commit 183091e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,14 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.11'

- name: Install dependencies
id: install-deps
run: |
python -m pip install --upgrade pip setuptools wheel black==22.6 requests
pip install -U -r requirements.txt
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'

- name: Run black
if: ${{ always() && steps.install-deps.outcome == 'success' }}
run: |
Expand Down
8 changes: 5 additions & 3 deletions src/cogs/DevCog.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@
import io
import textwrap


class Developers(commands.Cog):
def __init__(self, bot: commands.Bot):
super(Developers, self).__init__()
self.bot = bot

#TODO: EVAL WITHOUGHT INTERNET
#TODO: BLACKLIST SETTINGS
#TODO: COGS LOAD/UNLOAD/RELOAD
# TODO: EVAL WITHOUGHT INTERNET
# TODO: BLACKLIST SETTINGS
# TODO: COGS LOAD/UNLOAD/RELOAD


def setup(bot: commands.Bot) -> None:
bot.add_cog(Developers(bot))

0 comments on commit 183091e

Please sign in to comment.