Minor clean

This commit is contained in:
Giovanni Barillari 2025-03-04 23:44:46 +01:00
parent 1dfd2379c2
commit a8cd23c89e
No known key found for this signature in database
2 changed files with 4 additions and 5 deletions

View file

@ -5,7 +5,7 @@ pysources = granian tests
build-dev:
@rm -f granian/*.so
uv sync --group all
maturin develop
maturin develop --uv
.PHONY: format
format:

View file

@ -1,7 +1,6 @@
from .._granian import BUILD_GIL
from .mp import MPServer as MPServer
from .mt import MTServer as MTServer
if BUILD_GIL:
from .mp import MPServer as Server
else:
from .mt import MTServer as Server # noqa: F401
Server = MPServer if BUILD_GIL else MTServer