jupyter-server / jupyter_server

The backend—i.e. core services, APIs, and REST endpoints—to Jupyter web applications.
https://jupyter-server.readthedocs.io
BSD 3-Clause "New" or "Revised" License
465 stars 279 forks source link

Use hatch fmt command #1424

Closed blink1073 closed 1 month ago

blink1073 commented 1 month ago

Hatch has a hatch fmt command with sensible defaults, that can be extended to fit the project. https://hatch.pypa.io/latest/config/internal/static-analysis/.

The biggest win was the addition of the ASYNCIO check, which found the fact that we were using subprocess in an async function.