mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-10 06:52:55 +00:00
Enable all pyupgrade checks in ruff
This will help to keep us from using deprecated Python features going forward. Signed-off-by: Tristan Partin <tristan@neon.tech>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from typing import Tuple
|
||||
from __future__ import annotations
|
||||
|
||||
import pytest
|
||||
from pytest_httpserver import HTTPServer
|
||||
@@ -40,6 +40,6 @@ def httpserver(make_httpserver):
|
||||
|
||||
|
||||
@pytest.fixture(scope="function")
|
||||
def httpserver_listen_address(port_distributor) -> Tuple[str, int]:
|
||||
def httpserver_listen_address(port_distributor) -> tuple[str, int]:
|
||||
port = port_distributor.get_port()
|
||||
return ("localhost", port)
|
||||
|
||||
Reference in New Issue
Block a user