mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-30 17:50:07 +00:00
rename test to tests
This commit is contained in:
parent
d0c2053a1d
commit
821ee1ebec
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
"""Check for alias collisions within the codebase"""
|
"""Check for alias collisions within the codebase"""
|
||||||
|
|
||||||
from argparse import ArgumentDefaultsHelpFormatter, ArgumentParser, FileType
|
from argparse import ArgumentDefaultsHelpFormatter, ArgumentParser
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import List
|
from typing import List
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
@ -54,7 +54,7 @@ def find_all_aliases(path: Path) -> List:
|
||||||
|
|
||||||
|
|
||||||
def check_for_duplicates(aliases: List[Alias]) -> None:
|
def check_for_duplicates(aliases: List[Alias]) -> None:
|
||||||
elements = dict()
|
elements = {}
|
||||||
for alias in aliases:
|
for alias in aliases:
|
||||||
if alias.alias in elements:
|
if alias.alias in elements:
|
||||||
existing = elements[alias.alias]
|
existing = elements[alias.alias]
|
||||||
|
|
Loading…
Reference in a new issue