Remove type ignore

This commit is contained in:
Dimitris Zlatanidis 2024-04-25 19:20:46 +03:00
parent 565d72f662
commit 3e38986f27

View file

@ -237,7 +237,7 @@ class Slackbuilds(Configs):
deps_logs.update(deps)
self.deps_log_file.write_text(json.dumps(deps_logs, indent=4))
def find_package_for_install(self, name: str) -> str: # type: ignore[return]
def find_package_for_install(self, name: str) -> str:
version: str = self.data[name]['version']
pattern: str = f'{name}-{version}*{self.repo_tag}*'
packages: list = [file.name for file in self.tmp_path.glob(pattern)]