diff --git a/tools/package_list.py b/tools/package_list.py index a3171ba..56f760e 100644 --- a/tools/package_list.py +++ b/tools/package_list.py @@ -1,13 +1,15 @@ import requests -res = requests.get('https://raw.githubusercontent.com/brain-hackers/buildbrain/master/os-brainux/setup_brainux.sh') +res = requests.get( + 'https://raw.githubusercontent.com/brain-hackers/buildbrain/master/os-brainux/setup_brainux.sh' +) lines = res.text.split('\n') found_packages = [] backslashed = False -for (i,line) in enumerate(lines): +for (i, line) in enumerate(lines): if line.strip().startswith('apt install') or backslashed: if backslashed: packages = line.strip().split(' ') @@ -21,4 +23,4 @@ for (i,line) in enumerate(lines): print('|パッケージ名|') print('|:-|') -print('\n'.join(f'|{p}|' for p in found_packages)) \ No newline at end of file +print('\n'.join(f'|{p}|' for p in found_packages))