Skip to content

Commit 9b89272

Browse files
authored
Merge pull request #4 from chainguard-dev/no-limits-4-amber
remove 80 column limit
2 parents 5666663 + b2f27f4 commit 9b89272

2 files changed

Lines changed: 0 additions & 21 deletions

File tree

pre_commit_hooks/shellcheck_run_steps.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,15 @@
55
import os
66
import subprocess
77
import tempfile
8-
from collections.abc import Generator
98
from collections.abc import Mapping
109
from collections.abc import Sequence
1110
from typing import Any
12-
from typing import NamedTuple
1311

1412
import ruamel.yaml
1513

1614
yaml = ruamel.yaml.YAML(typ="safe")
1715

1816

19-
def _exhaust(gen: Generator[str]) -> None:
20-
for _ in gen:
21-
pass
22-
23-
24-
def _parse_unsafe(*args: Any, **kwargs: Any) -> None:
25-
_exhaust(yaml.parse(*args, **kwargs))
26-
27-
28-
def _load_all(*args: Any, **kwargs: Any) -> None:
29-
_exhaust(yaml.load_all(*args, **kwargs))
30-
31-
32-
class Key(NamedTuple):
33-
multi: bool
34-
unsafe: bool
35-
36-
3717
def do_shellcheck(
3818
melange_cfg: Mapping[str, Any],
3919
shellcheck: list[str],

ruff.toml

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)