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

Repin msgspec to release versions and ignore reoccurring Pyright error #233

Merged
merged 2 commits into from
Jan 1, 2025
Merged
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 bot/cogs/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ async def about(self, interaction: discord.Interaction) -> None:
# For Kumiko, it's done differently
# R. Danny's way of doing it is probably close enough anyways
memory_usage = self.process.memory_full_info().uss / 1024**2
cpu_usage = self.process.cpu_percent() / psutil.cpu_count()
cpu_usage = self.process.cpu_percent() / psutil.cpu_count() # type: ignore # Pyright is still complaining

revisions = self.get_last_commits()
embed = Embed()
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ winloop>=0.1.1,<1 ; sys_platform == "win32"
asyncpg>=0.29.0,<1
discord-ext-menus @ git+https://github.com/Rapptz/discord-ext-menus@8686b5d1bbc1d3c862292eb436ab630d6e9c9b53
python-dateutil>=2.9.0,<3
msgspec @ git+https://github.com/jcrist/msgspec@e06e9c9fbacf372f71afbb41e3b772bf94d753e6
msgspec>=0.19.0,<1
pygit2>=1.14.1,<2
psutil>=6.0.0,<7
prometheus-client>=0.20.0,<1
Expand Down