Skip to content

Merge#4

Open
def750 wants to merge 581 commits intodef750:masterfrom
osuAkatsuki:master
Open

Merge#4
def750 wants to merge 581 commits intodef750:masterfrom
osuAkatsuki:master

Conversation

@def750
Copy link
Copy Markdown
Owner

@def750 def750 commented Mar 13, 2023

Describe your changes

Related Issues / Projects

Checklist

  • The changes pass pre-commit checks (make lint)
  • The changes follow coding style

pre-commit-ci Bot and others added 30 commits September 17, 2023 14:08
updates:
- [github.com/asottile/pyupgrade: v3.10.1 → v3.11.0](asottile/pyupgrade@v3.10.1...v3.11.0)
- [github.com/asottile/reorder-python-imports: v3.10.0 → v3.11.0](asottile/reorder-python-imports@v3.10.0...v3.11.0)
fix: incorrect handling of BeatmapApiResponse response
chore: upgrade to python 3.11; upgrade redis library; upgrade databases
docs: document upgrade to 3.11
* impl: implement unset pattern

* fix: apply suggested changes

* fix: remove pop method

* fix: apply suggestions

Co-authored-by: Josh Smith <cmyuiosu@gmail.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix: fix return type

* fix

---------

Co-authored-by: Josh Smith <cmyuiosu@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* unused imports

Co-authored-by: James <tsunyoku@users.noreply.github.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: James <tsunyoku@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* typing fixes

Co-authored-by: James <tsunyoku@users.noreply.github.com>

* fix performance typing

Co-authored-by: James <tsunyoku@users.noreply.github.com>

* more typing fixes

Co-authored-by: James <tsunyoku@users.noreply.github.com>

* [CI] Generated new Pipfile.lock

* update akatsuki-pp-py to 0.9.8 - typing fixes

Co-authored-by: James <tsunyoku@users.noreply.github.com>

* basic lint in CI

* [CI] Generated new Pipfile.lock

* ignore missing imports in mypy ci

* temp test

* pipenv run mypy

Co-authored-by: James <tsunyoku@users.noreply.github.com>

* test

Co-authored-by: James <tsunyoku@users.noreply.github.com>

* fixed all type errors; added mypy config

* run mypy on change to any py files

* better comment

* todone

* pattern for clarity

* a bit of prevention of circular imports

* weird but less weird

* remove __getitem__ implementations from collections

* type params better

* make type-check

---------

Co-authored-by: James <tsunyoku@users.noreply.github.com>
Co-authored-by: CI <username@users.noreply.github.com>
7ez and others added 30 commits August 30, 2025 21:58
* Update Dockerfile to remove specific version of build-essential

* Pin build-essential package version to 12.12
updates:
- [github.com/asottile/blacken-docs: 1.19.1 → 1.20.0](adamchainz/blacken-docs@1.19.1...1.20.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates:
- [github.com/psf/black: 25.1.0 → 25.9.0](psf/black@25.1.0...25.9.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates:
- https://github.com/psf/blackhttps://github.com/psf/black-pre-commit-mirror
- [github.com/pycqa/isort: 6.0.1 → 6.1.0](PyCQA/isort@6.0.1...6.1.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…723)

* chore: switch redis image from bitnami to official

* chore: pin mysql and cloudflared image versions
* chore: fix run-test-suite job in CI

* chore: use --ssl=0 when running tests

---------

Co-authored-by: NiceAesth <8437201+NiceAesth@users.noreply.github.com>
* swapped session player object for user database object in !top command

* python 3.13 moment

* formatting

---------

Co-authored-by: Alonso <33896771+7mochi@users.noreply.github.com>
updates:
- [github.com/asottile/pyupgrade: v3.20.0 → v3.21.0](asottile/pyupgrade@v3.20.0...v3.21.0)
- [github.com/pycqa/isort: 6.1.0 → 7.0.0](PyCQA/isort@6.1.0...7.0.0)
- [github.com/asottile/add-trailing-comma: v3.2.0 → v4.0.0](asottile/add-trailing-comma@v3.2.0...v4.0.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: NiceAesth <8437201+NiceAesth@users.noreply.github.com>
updates:
- [github.com/asottile/pyupgrade: v3.21.1 → v3.21.2](asottile/pyupgrade@v3.21.1...v3.21.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates:
- [github.com/psf/black-pre-commit-mirror: 25.11.0 → 26.1.0](psf/black-pre-commit-mirror@25.11.0...26.1.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates:
- [github.com/pycqa/isort: 7.0.0 → 8.0.0](PyCQA/isort@7.0.0...8.0.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Replace bytearray with list[bytes] for the player packet queue.
This avoids repeated bytearray reallocation on each enqueue by
appending bytes objects to a list, then joining them on dequeue.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Replace linear O(n) scans with dict-based O(1) lookups for
Players.get(), Players.__contains__(), append(), and remove().

Three private dicts (_by_token, _by_id, _by_name) are maintained
alongside the list to enable constant-time lookups by token, id,
or safe_name. Also fixes an existing bug in __contains__ where the
parameter `player` shadowed the outer variable in the generator.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
updates:
- [github.com/pycqa/isort: 8.0.0 → 8.0.1](PyCQA/isort@8.0.0...8.0.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates:
- [github.com/psf/black-pre-commit-mirror: 26.1.0 → 26.3.1](psf/black-pre-commit-mirror@26.1.0...26.3.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.2 to 46.0.5.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@42.0.2...46.0.5)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: NiceAesth <8437201+NiceAesth@users.noreply.github.com>
Bumps [python-multipart](https://github.com/Kludex/python-multipart) from 0.0.9 to 0.0.22.
- [Release notes](https://github.com/Kludex/python-multipart/releases)
- [Changelog](https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md)
- [Commits](Kludex/python-multipart@0.0.9...0.0.22)

---
updated-dependencies:
- dependency-name: python-multipart
  dependency-version: 0.0.22
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [orjson](https://github.com/ijl/orjson) from 3.9.13 to 3.11.6.
- [Release notes](https://github.com/ijl/orjson/releases)
- [Changelog](https://github.com/ijl/orjson/blob/master/CHANGELOG.md)
- [Commits](ijl/orjson@3.9.13...3.11.6)

---
updated-dependencies:
- dependency-name: orjson
  dependency-version: 3.11.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [filelock](https://github.com/tox-dev/py-filelock) from 3.20.0 to 3.20.3.
- [Release notes](https://github.com/tox-dev/py-filelock/releases)
- [Changelog](https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst)
- [Commits](tox-dev/filelock@3.20.0...3.20.3)

---
updated-dependencies:
- dependency-name: filelock
  dependency-version: 3.20.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [requests](https://github.com/psf/requests) from 2.31.0 to 2.32.4.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.31.0...v2.32.4)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.32.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [black](https://github.com/psf/black) from 24.1.1 to 26.3.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@24.1.1...26.3.1)

---
updated-dependencies:
- dependency-name: black
  dependency-version: 26.3.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.35.0 to 20.36.1.
- [Release notes](https://github.com/pypa/virtualenv/releases)
- [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst)
- [Commits](pypa/virtualenv@20.35.0...20.36.1)

---
updated-dependencies:
- dependency-name: virtualenv
  dependency-version: 20.36.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [aiomysql](https://github.com/aio-libs/aiomysql) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/aio-libs/aiomysql/releases)
- [Changelog](https://github.com/aio-libs/aiomysql/blob/main/CHANGES.txt)
- [Commits](https://github.com/aio-libs/aiomysql/commits)

---
updated-dependencies:
- dependency-name: aiomysql
  dependency-version: 0.3.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.5.0 to 2.6.3.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@2.5.0...2.6.3)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.6.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [requests](https://github.com/psf/requests) from 2.32.4 to 2.33.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.32.4...v2.33.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.33.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [cryptography](https://github.com/pyca/cryptography) from 46.0.5 to 46.0.6.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@46.0.5...46.0.6)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.