Skip to content
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.

Commit

Permalink
Bump to 0.2.5 with discord.py 1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sinus-x authored May 8, 2021
2 parents f592668 + 683578f commit 6510701
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 81 deletions.
32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE/feature-request.md

This file was deleted.

10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ jobs:

strategy:
matrix:
python-version: [3.7, 3.8, 3.9.0-rc.1]
python-version:
- 3.7
- 3.8
- 3.9
- 3.10.0-beta.1 - 3.10

steps:
- uses: actions/checkout@v2
Expand All @@ -42,8 +46,8 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install wheel
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install --upgrade -r requirements.txt
pip install --upgrade -r requirements-dev.txt
- name: Check the code for errors
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ config.json
*.db
# development
.venv
.sublime-project
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.1.0
rev: v3.4.0
hooks:
- id: check-yaml
- id: check-toml
Expand All @@ -10,14 +10,14 @@ repos:
- id: requirements-txt-fixer

- repo: https://github.com/psf/black
rev: 20.8b1
rev: 21.5b0
hooks:
- id: black
args:
- -l 100

- repo: https://gitlab.com/pycqa/flake8
rev: '3.8.2'
rev: '3.9.1'
hooks:
- id: flake8
args:
Expand Down
12 changes: 0 additions & 12 deletions .sublime-project

This file was deleted.

8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Small fixes are not listed. See diffs for each version to see details.

## [unreleased]

## [0.2.5]

- Bump discord.py version to 1.7.2
- Fix issues with embed URLs throwing errors because of bad type

## [0.2.4]

- Unite nickname limits to 32 characters
Expand Down Expand Up @@ -54,7 +59,8 @@ Small fixes are not listed. See diffs for each version to see details.
- Warnings on failed send/edit

<!-- Versions -->
[unreleased]: https://github.com/sinus-x/discord-wormhole/compare/v0.2.4...devel
[unreleased]: https://github.com/sinus-x/discord-wormhole/compare/v0.2.5...devel
[0.2.5]: https://github.com/sinus-x/discord-wormhole/compare/v0.2.4...v0.2.5
[0.2.4]: https://github.com/sinus-x/discord-wormhole/compare/v0.2.3...v0.2.4
[0.2.3]: https://github.com/sinus-x/discord-wormhole/compare/v0.2.2...v0.2.3
[0.2.2]: https://github.com/sinus-x/discord-wormhole/compare/v0.2.1...v0.2.2
Expand Down
4 changes: 2 additions & 2 deletions core/wormcog.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import datetime
import json
import re
from typing import List
from typing import List, Union

import discord
from discord.ext import commands
Expand Down Expand Up @@ -246,7 +246,7 @@ def get_embed(
author: discord.User = None,
title: str = None,
description: str = None,
url: str = None,
url: Union[str, discord.embeds._EmptyEmbed] = discord.Embed.Empty,
) -> discord.Embed:
"""Create embed"""
# author
Expand Down
4 changes: 2 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
black >= 20.8b1
flake8
black==21.5b0
flake8==3.9.1
flake8-print
flake8-todo
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
discord.py >= 1.5.0
GitPython >= 3.1.2
redis >= 3.5.3
discord.py>=1.7.2,<2.0.0
GitPython>=3.1.14,<4.0.0
redis>=3.5.3,<4.0.0

0 comments on commit 6510701

Please sign in to comment.