mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 09:34:50 -04:00
Update to the current version of Black and run it on Synapse codebase (#11596)
* update black version * run updated version of black on code * newsfragment * enumerate python versions
This commit is contained in:
parent
66d7aa783a
commit
fcfe67578f
5 changed files with 3 additions and 4 deletions
|
@ -68,7 +68,6 @@ try:
|
|||
def get_thread_resource_usage() -> "Optional[resource.struct_rusage]":
|
||||
return resource.getrusage(RUSAGE_THREAD)
|
||||
|
||||
|
||||
except Exception:
|
||||
# If the system doesn't support resource.getrusage(RUSAGE_THREAD) then we
|
||||
# won't track resource usage.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue