mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Switch to Astral Python tools: ruff and ty (#7243)
This replaces black, flake8, and mypy with the more modern and efficient tools `ruff` and `ty` from Astral. Assisted-by: Antigravity with Gemini
This commit is contained in:
@@ -10,13 +10,13 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
"""
|
||||
|
||||
import argparse
|
||||
from collections.abc import Generator
|
||||
import os
|
||||
from collections.abc import Generator
|
||||
from typing import Optional, cast
|
||||
|
||||
# https://pypi.org/project/gql/
|
||||
import gql # type: ignore
|
||||
import gql.transport.requests # type: ignore
|
||||
import gql
|
||||
import gql.transport.requests
|
||||
|
||||
_ENV_TOKEN = "GITHUB_ACCESS_TOKEN"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user