Fixed flake8
This commit is contained in:
parent
157225ae1e
commit
bddfd3b7ca
|
@ -1,4 +1,4 @@
|
||||||
from typing import List, Dict, List, Union
|
from typing import Dict, Any
|
||||||
import os
|
import os
|
||||||
|
|
||||||
# There's a few scenarios of execution:
|
# There's a few scenarios of execution:
|
||||||
|
@ -8,15 +8,14 @@ import os
|
||||||
# (4. Added the ~/.config directory as an additional option for future reasons)
|
# (4. Added the ~/.config directory as an additional option for future reasons)
|
||||||
#
|
#
|
||||||
# And Keeping this in dict ensures that variables are shared across imports.
|
# And Keeping this in dict ensures that variables are shared across imports.
|
||||||
_PROFILE_PATHS :List[str] = [
|
|
||||||
'./profiles',
|
|
||||||
'~/.config/archinstall/profiles',
|
|
||||||
os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'profiles'),
|
|
||||||
# os.path.abspath(f'{os.path.dirname(__file__)}/../examples')
|
|
||||||
]
|
|
||||||
|
|
||||||
storage :Dict[str, Any] = {
|
storage :Dict[str, Any] = {
|
||||||
'PROFILE_PATH': _PROFILE_PATHS,
|
'PROFILE_PATH': [
|
||||||
|
'./profiles',
|
||||||
|
'~/.config/archinstall/profiles',
|
||||||
|
os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'profiles'),
|
||||||
|
# os.path.abspath(f'{os.path.dirname(__file__)}/../examples')
|
||||||
|
],
|
||||||
'UPSTREAM_URL': 'https://raw.githubusercontent.com/archlinux/archinstall/master/profiles',
|
'UPSTREAM_URL': 'https://raw.githubusercontent.com/archlinux/archinstall/master/profiles',
|
||||||
'PROFILE_DB': None, # Used in cases when listing profiles is desired, not mandatory for direct profile grabing.
|
'PROFILE_DB': None, # Used in cases when listing profiles is desired, not mandatory for direct profile grabing.
|
||||||
'LOG_PATH': '/var/log/archinstall',
|
'LOG_PATH': '/var/log/archinstall',
|
||||||
|
|
Loading…
Reference in New Issue