Skip to content

Commit

Permalink
Repin msgspec to release versions and ignore reoccurring Pyright er…
Browse files Browse the repository at this point in the history
…ror (#233)
  • Loading branch information
No767 authored Jan 1, 2025
1 parent 83d145c commit 06c249f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 06c249f

Please sign in to comment.