Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ repos:
- id: isort
exclude: \.(po|pot|yml|yaml)$
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.12.0
rev: 26.1.0
hooks:
- id: black
args: [--safe, --quiet]
Expand Down
2 changes: 1 addition & 1 deletion discord/abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ async def set_permissions(
if overwrite is None:
await http.delete_channel_permissions(self.id, target.id, reason=reason)
elif isinstance(overwrite, PermissionOverwrite):
(allow, deny) = overwrite.pair()
allow, deny = overwrite.pair()
await http.edit_channel_permissions(
self.id, target.id, allow.value, deny.value, perm_type, reason=reason
)
Expand Down
5 changes: 1 addition & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,11 @@
changelog_lines[i] = "[version guarantees]: version_guarantees.rst\n"
break

CHANGELOG_TEXT = (
"".join(changelog_lines)
+ """
CHANGELOG_TEXT = "".join(changelog_lines) + """
## Older Versions
A changelog for versions prior to v2.0 can be found [here](old_changelog.rst).
"""
)


# Only write if it's changed to avoid recompiling the docs
Expand Down