mirror of https://github.com/astral-sh/ruff
Lint
This commit is contained in:
parent
b6066c6bef
commit
c3354ad843
|
|
@ -241,7 +241,6 @@ jobs:
|
||||||
name: ecosystem-result
|
name: ecosystem-result
|
||||||
path: ecosystem-result
|
path: ecosystem-result
|
||||||
|
|
||||||
|
|
||||||
cargo-udeps:
|
cargo-udeps:
|
||||||
name: "cargo udeps"
|
name: "cargo udeps"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
|
|
@ -10,10 +10,10 @@ from contextlib import nullcontext
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from signal import SIGINT, SIGTERM
|
from signal import SIGINT, SIGTERM
|
||||||
|
|
||||||
|
from ruff_ecosystem import logger
|
||||||
from ruff_ecosystem.defaults import DEFAULT_TARGETS
|
from ruff_ecosystem.defaults import DEFAULT_TARGETS
|
||||||
from ruff_ecosystem.main import OutputFormat, main
|
from ruff_ecosystem.main import OutputFormat, main
|
||||||
from ruff_ecosystem.projects import RuffCommand
|
from ruff_ecosystem.projects import RuffCommand
|
||||||
from ruff_ecosystem import logger
|
|
||||||
|
|
||||||
|
|
||||||
def excepthook(type, value, tb):
|
def excepthook(type, value, tb):
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@ Execution, comparison, and summary of `ruff format` ecosystem checks.
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
import re
|
|
||||||
import time
|
import time
|
||||||
from asyncio import create_subprocess_exec
|
from asyncio import create_subprocess_exec
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ from dataclasses import dataclass, field
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from subprocess import PIPE
|
from subprocess import PIPE
|
||||||
from typing import AsyncGenerator, Self
|
from typing import Self
|
||||||
|
|
||||||
from ruff_ecosystem import logger
|
from ruff_ecosystem import logger
|
||||||
from ruff_ecosystem.check import CheckOptions
|
from ruff_ecosystem.check import CheckOptions
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
DEPRECATED: This script is being replaced by the ruff-ecosystem package at `python/ruff-ecosystem`.
|
**DEPRECATED** This script is being replaced by the ruff-ecosystem package.
|
||||||
|
|
||||||
|
|
||||||
Check two versions of ruff against a corpus of open-source code.
|
Check two versions of ruff against a corpus of open-source code.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue