mirror of
https://github.com/Paillat-dev/pycord-rest.git
synced 2026-01-02 17:14:56 +00:00
Compare commits
2 Commits
feat/decod
...
bump-pycor
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
46ef5010da | ||
| 26245d80f0 |
4
.github/workflows/publish.yaml
vendored
4
.github/workflows/publish.yaml
vendored
@@ -9,7 +9,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: pypi
|
environment: pypi
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: "Install uv"
|
- name: "Install uv"
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v6
|
||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
enable-cache: true
|
enable-cache: true
|
||||||
|
|
||||||
- name: "Set up Python"
|
- name: "Set up Python"
|
||||||
uses: actions/setup-python@v6
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version-file: "pyproject.toml"
|
python-version-file: "pyproject.toml"
|
||||||
|
|
||||||
|
|||||||
6
.github/workflows/quality.yaml
vendored
6
.github/workflows/quality.yaml
vendored
@@ -9,7 +9,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v4
|
||||||
- name: Setup Copywrite
|
- name: Setup Copywrite
|
||||||
uses: hashicorp/setup-copywrite@32f9f1c86f661b8a51100768976a06f1b281a035
|
uses: hashicorp/setup-copywrite@32f9f1c86f661b8a51100768976a06f1b281a035
|
||||||
- name: Check Header Compliance
|
- name: Check Header Compliance
|
||||||
@@ -35,7 +35,7 @@ jobs:
|
|||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: "Install uv"
|
- name: "Install uv"
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v6
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
enable-cache: true
|
enable-cache: true
|
||||||
|
|
||||||
- name: "Set up Python"
|
- name: "Set up Python"
|
||||||
uses: actions/setup-python@v6
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version-file: "pyproject.toml"
|
python-version-file: "pyproject.toml"
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ authors = [
|
|||||||
{ name = "Paillat-dev", email = "me@paillat.dev" }
|
{ name = "Paillat-dev", email = "me@paillat.dev" }
|
||||||
]
|
]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
requires-python = ">=3.12, <4.0"
|
requires-python = "==3.12.*"
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Development Status :: 3 - Alpha",
|
"Development Status :: 3 - Alpha",
|
||||||
"Intended Audience :: Developers",
|
"Intended Audience :: Developers",
|
||||||
|
|||||||
@@ -1,13 +1,25 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": [
|
"extends": ["config:recommended"],
|
||||||
"local>nicebots-xyz/renovate-config",
|
"baseBranches": ["main"],
|
||||||
":semanticPrefixFixDepsChoreOthers",
|
"labels": ["deps"],
|
||||||
":dependencyDashboard"
|
"ignorePaths": ["requirements.txt"],
|
||||||
],
|
"commitMessagePrefix": "⬆️",
|
||||||
"forkProcessing": "enabled",
|
"commitMessageAction": "Upgrade",
|
||||||
"baseBranchPatterns": ["main"],
|
"packageRules": [
|
||||||
"lockFileMaintenance": {
|
{
|
||||||
"enabled": true
|
"matchUpdateTypes": ["pin"],
|
||||||
}
|
"commitMessagePrefix": "📌",
|
||||||
|
"commitMessageAction": "Pin"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matchUpdateTypes": ["rollback"],
|
||||||
|
"commitMessagePrefix": "⬇️",
|
||||||
|
"commitMessageAction": "Downgrade"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matchDatasources": ["pypi"],
|
||||||
|
"addLabels": ["pypi"]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
# Copyright (c) Paillat-dev
|
# Copyright (c) Paillat-dev
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
import base64
|
|
||||||
import functools
|
import functools
|
||||||
import logging
|
import logging
|
||||||
import warnings
|
import warnings
|
||||||
@@ -271,7 +270,6 @@ class App(discord.Bot):
|
|||||||
uvicorn_options["server_header"] = uvicorn_options.get("server_header", False)
|
uvicorn_options["server_header"] = uvicorn_options.get("server_header", False)
|
||||||
config = self._UvicornConfig(self._app, **uvicorn_options)
|
config = self._UvicornConfig(self._app, **uvicorn_options)
|
||||||
server = self._UvicornServer(config)
|
server = self._UvicornServer(config)
|
||||||
self._connection.application_id = int(base64.b64decode(token.split(".")[0] + "==").decode("utf-8"))
|
|
||||||
try:
|
try:
|
||||||
self.dispatch("connect")
|
self.dispatch("connect")
|
||||||
await server.serve()
|
await server.serve()
|
||||||
|
|||||||
Reference in New Issue
Block a user