Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/unattended.py3
-rw-r--r--profiles/52-54-00-12-34-56.py1
-rw-r--r--profiles/kde.py1
-rw-r--r--profiles/server.py3
-rw-r--r--profiles/xorg.py1
-rw-r--r--setup.py3
6 files changed, 9 insertions, 3 deletions
diff --git a/examples/unattended.py b/examples/unattended.py
index bb854a70..f1ed4c94 100644
--- a/examples/unattended.py
+++ b/examples/unattended.py
@@ -1,6 +1,7 @@
-import archinstall
import time
+import archinstall
+
archinstall.storage['UPSTREAM_URL'] = 'https://archlinux.life/profiles'
archinstall.storage['PROFILE_DB'] = 'index.json'
diff --git a/profiles/52-54-00-12-34-56.py b/profiles/52-54-00-12-34-56.py
index 758a4cc2..e1361073 100644
--- a/profiles/52-54-00-12-34-56.py
+++ b/profiles/52-54-00-12-34-56.py
@@ -1,4 +1,5 @@
import archinstall
+
# import json
# import urllib.request
diff --git a/profiles/kde.py b/profiles/kde.py
index cdb6a41a..451704b9 100644
--- a/profiles/kde.py
+++ b/profiles/kde.py
@@ -6,6 +6,7 @@ is_top_level_profile = False
__packages__ = ["plasma-meta", "konsole", "kate", "dolphin", "sddm", "plasma-wayland-session", "egl-wayland"]
+
# TODO: Remove hard dependency of bash (due to .bash_profile)
diff --git a/profiles/server.py b/profiles/server.py
index 3ccc9715..afc37776 100644
--- a/profiles/server.py
+++ b/profiles/server.py
@@ -1,8 +1,9 @@
# Used to select various server application profiles on top of a minimal installation.
-import archinstall
import logging
+import archinstall
+
is_top_level_profile = True
available_servers = ["cockpit", "docker", "httpd", "lighttpd", "mariadb", "nginx", "postgresql", "sshd", "tomcat"]
diff --git a/profiles/xorg.py b/profiles/xorg.py
index a5a50697..3351e4e5 100644
--- a/profiles/xorg.py
+++ b/profiles/xorg.py
@@ -22,6 +22,7 @@ def _prep_function(*args, **kwargs):
return True
+
# Ensures that this code only gets executed if executed
# through importlib.util.spec_from_file_location("xorg", "/somewhere/xorg.py")
# or through conventional import xorg
diff --git a/setup.py b/setup.py
index 8b95d978..68a125d1 100644
--- a/setup.py
+++ b/setup.py
@@ -1,2 +1,3 @@
-import setuptools # type: ignore
+import setuptools # type: ignore
+
setuptools.setup()