Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase #9

Closed
wants to merge 150 commits into from
Closed

Rebase #9

wants to merge 150 commits into from

Conversation

PANIGE
Copy link

@PANIGE PANIGE commented Feb 17, 2024

Describe your changes

The objective will be to rebase the kawata.py from the forked branch

pre-commit-ci bot and others added 30 commits December 19, 2023 00:31
updates:
- [github.com/psf/black: 23.11.0 → 23.12.0](psf/black@23.11.0...23.12.0)

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

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat: base comments repository

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

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

* feat: implement unset pattern

* [CI] Generated new Pipfile.lock

* changes from review

* more correct/specific abstractions to match osu

* revert lockfile changes

* fix ambiguous column bug

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: CI <username@users.noreply.github.com>
Co-authored-by: cmyui <cmyuiosu@gmail.com>
* feat: base logs repository

* [CI] Generated new Pipfile.lock

* adjustments and bug fixes

* Revert "[CI] Generated new Pipfile.lock"

This reverts commit 5a30f58.

* fixes

* minor consistency nit

---------

Co-authored-by: CI <username@users.noreply.github.com>
Co-authored-by: cmyui <cmyuiosu@gmail.com>
* kill many todos, do a couple

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

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

* more todoing

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

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

* allow any charset for name & pw

* remove len(md5) == 32 check

* warn logs for invalid match data

---------

Co-authored-by: Josh Smith <joshua.smith@super.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Split login into smaller functions

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

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

* Use more functions

* func name cleanup

* use enum

* prefer StrEnum

* fix an old bug (yikes)

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

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

* better func name

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

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

* use identity check

* clarity/naming improvements to authenticate()

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

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

* fmt

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

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

* handle osu api err case gracefully

* refactor user_id packet to login_reply with enum for failure cases

* alloc late/spacing

* wat

---------

Co-authored-by: Josh Smith <joshua.smith@super.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
)

* consolidate & simplify

* app is running in new setup

* expose on 10000

* flip order of test naming

* empty osu test file for itests

* basic score submission integration test

* test in ci

* image on dockerhub & build in tests ci for now

* better todo

* fix

* login into dockerhub

* build in ci and fix exec

* update test job name

* env mapping

* fix script path

* move pytest install to packages (from dev packages)

* fix run-tests script dir

* make test to use docker-compose, make test-local for existing functionality

* simplify run-tests.sh & print stdout

* [CI] Generated new Pipfile.lock

* fix volumes

* todone

* on push for all tests

* add respx requirement for mocking http calls

* fix mypy err

* return charts even when on rx/ap

* assert against chart resp

* [CI] Generated new Pipfile.lock

* Revert "[CI] Generated new Pipfile.lock"

This reverts commit 7eabb76.

* remove OSU_API_KEY from required keys; default none

* update snapshot

* consistent log msg

* remove unused mods

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

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

* mock out calls to 3rd party apis for bmap data

* use `respx_mock` fixture name

* [CI] Generated new Pipfile.lock

* only include status, msg, country code, lat, lon in ip-api resp

* mock ip-api call

---------

Co-authored-by: CI <username@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…i#566)

* param type and style normalization across all repos

* avoid double typedefs

* fix
This is to appease to mypy as `__eq__` technically returns `Any`. Python casts to bool anyway so this should have 0 impact other than silencing mypy.
* chore: knock some sense into dependencies

* chore: lock black version

locking until further action due to psf/black#4175
most likely course of action is to get rid of reorder-python-imports

* [CI] Generated new Pipfile.lock

---------

Co-authored-by: CI <username@users.noreply.github.com>
* Add mods to playr.last_np

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

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

* Remove debug print

* Add typing of mods to LastNp

* Make LastNp.mods noneable

* Make mods parsing consistent

---------

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

* chore: knock some sense into dependencies

* chore: lock black version

locking until further action due to psf/black#4175
most likely course of action is to get rid of reorder-python-imports

* [CI] Generated new Pipfile.lock

* chore: address deprecations in package updates

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

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

* fix: remove missing call to `init_events`

* fix: type lifespan manager

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

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

* fix: update pp value in test

caused by updating akatsuki-pp-py version

---------

Co-authored-by: CI <username@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…B rounding (osuAkatsuki#572)

* Fix inconsistent BEST submission status evaluation through DB rounding

* Revert rounding

* Removed left-over comment

* oops

* Round PP to 3 decimals instead of 5
…k` incompatibility (osuAkatsuki#571)

* chore: remove `reorder-python-imports`

* fix: isort config format

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

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

* fix: readd required future annotations import

* [CI] Generated new Pipfile.lock

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: CI <username@users.noreply.github.com>
* feat: base mails repository

* fix: apply suggestion

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

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

* fix: apply suggestions

* fix: remove leftover variables

* fix: apply suggestions

* remove unused class definition

* remove unused import

* simpler format

* remove fetch_one for mail

* simpler format

* remove fetch_count for mail

* mails.py -> mail.py and refactor

* comment update

* return ALL marked as read & more clear name

* more clear comment

* [CI] Generated new Pipfile.lock

* slightly more clear naming

* Revert "[CI] Generated new Pipfile.lock"

This reverts commit 78891ed.

* run the query (lmao)

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Josh Smith <cmyuiosu@gmail.com>
Co-authored-by: CI <username@users.noreply.github.com>
…i#567)

* rename Player._queue to Player._packet_queue

* rename Player.bot_client into Player.is_bot_client

* rename Player.tourney_client into Player.is_tourney_client

* test

* [CI] Generated new Pipfile.lock

* Revert "[CI] Generated new Pipfile.lock"

This reverts commit 344e45a.

* cursed

* one loop

* undo weird change

---------

Co-authored-by: CI <username@users.noreply.github.com>
…Akatsuki#578)

* fix: only run the push portion of the lint action when on master

* always run on prs
* chore: switch to poetry and remove requirements.txt

* fix: change copy command

* feat: add `make bump ver=`

* fix: add mypy as dev dependency

* fix: tomllib

* fix: version adkfj

* minor edits

* remove cmt

---------

Co-authored-by: cmyui <cmyuiosu@gmail.com>
TheFantasticLoki and others added 28 commits February 17, 2024 18:00
Co-authored-by: PANIGE <PANIGE@users.noreply.github.com>
…anel ranking, solves cache not updating issue and hopefully the dreaded status revert.
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.