Skip to content

Commit 5a76913

Browse files
authored
Merge pull request #1194 from interactions-py/unstable
chore: Push unstable to stable.
2 parents d62d111 + 6cc7648 commit 5a76913

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+4515
-3367
lines changed

.github/ISSUE_TEMPLATE/report-bug.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ assignees:
88
- Astrea49
99
- Toricane
1010
- Catalyst4222
11+
- Damego
1112
body:
1213
- type: markdown
1314
attributes:

.github/ISSUE_TEMPLATE/request-feature.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ assignees:
88
- Astrea49
99
- Toricane
1010
- Catalyst4222
11+
- Damego
1112
body:
1213
- type: markdown
1314
attributes:

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ This pull request is about (X), which does (Y).
66

77
- [ ] The ``pre-commit`` code linter has been run over all edited files to ensure the code is linted.
88
- [ ] I've ensured the change(s) work on `3.8.6` and higher.
9+
- [ ] I have added the `versionadded`, `versionchanged` and `deprecated` to any new or changed user-facing function I committed.
10+
<!-- If you are unsure what the next version is, feel free to ask in #unstable at https://discord.gg/interactions -->
911

12+
### Pull-Request specification
1013

1114
I've made this pull request: (check all that apply)
1215
- [ ] For the documentation
@@ -20,4 +23,4 @@ I've made this pull request: (check all that apply)
2023
This is:
2124
- [ ] A breaking change
2225

23-
<!--- Expand this when more comes up--->
26+
<!--- Expand this when more comes up--->

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.3.0
3+
rev: v4.4.0
44
hooks:
55
- id: requirements-txt-fixer
66
name: Requirements
@@ -29,23 +29,23 @@ repos:
2929
- id: check-merge-conflict
3030
name: Merge Conflicts
3131
- repo: https://github.com/psf/black
32-
rev: 22.10.0
32+
rev: 22.12.0
3333
hooks:
3434
- id: black
3535
name: Black Formatting
3636
language: python
3737
types: [file, python]
3838
args: [--line-length=100]
3939
- repo: https://github.com/PyCQA/flake8
40-
rev: 5.0.4
40+
rev: 6.0.0
4141
hooks:
4242
- id: flake8
4343
name: flake8 Formatting
4444
language: python
4545
types: [file, python]
4646
args: [--max-line-length=100, --ignore=E203 E301 E302 E501 E402 E704 W503 W504]
4747
- repo: https://github.com/pycqa/isort
48-
rev: 5.10.1
48+
rev: 5.11.4
4949
hooks:
5050
- id: isort
5151
name: isort Formatting

CONTRIBUTING.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@ error may be produced:
2020
.. code-block:: python
2121
2222
import interactions
23-
from logging import basicConfig, DEBUG
2423
25-
basicConfig(level=DEBUG)
26-
27-
bot = interactions.Client(token="...")
24+
bot = interactions.Client(token="...", logging=True)
25+
# ``True`` sets logging to DEBUG automatically but you can also set another logging level
2826
2927
bot.start()
3028

docs/api.cache.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/api.dispatch.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/api.enums.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/api.error.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/api.gateway.rst

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)