Skip to content

Commit

Permalink
pylint: enable use-dict-literal
Browse files Browse the repository at this point in the history
  • Loading branch information
dcbaker authored and eli-schwartz committed Sep 20, 2022
1 parent 798b6c5 commit b8e53ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ disable=
unused-argument,
unused-variable,
use-a-generator,
use-dict-literal,
use-implicit-booleaness-not-comparison,
used-before-assignment,
useless-return,
Expand Down
8 changes: 4 additions & 4 deletions mesonbuild/mtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1902,7 +1902,7 @@ def log_start_test(self, test: TestRun) -> None:
async def _run_tests(self, runners: T.List[SingleTestRunner]) -> None:
semaphore = asyncio.Semaphore(self.options.num_processes)
futures = deque() # type: T.Deque[asyncio.Future]
running_tests = dict() # type: T.Dict[asyncio.Future, str]
running_tests = {} # type: T.Dict[asyncio.Future, str]
interrupted = False
ctrlc_times = deque(maxlen=MAX_CTRLC) # type: T.Deque[float]

Expand Down Expand Up @@ -2007,9 +2007,9 @@ def convert_path_to_target(path: str) -> str:

assert len(ninja) > 0

depends = set() # type: T.Set[str]
targets = set() # type: T.Set[str]
intro_targets = dict() # type: T.Dict[str, T.List[str]]
depends = set() # type: T.Set[str]
targets = set() # type: T.Set[str]
intro_targets = {} # type: T.Dict[str, T.List[str]]
for target in load_info_file(get_infodir(wd), kind='targets'):
intro_targets[target['id']] = [
convert_path_to_target(f)
Expand Down

0 comments on commit b8e53ed

Please sign in to comment.