Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/mypy-strict.ini
diff options
context:
space:
mode:
authorDaniel Girtler <blackrabbit256@gmail.com>2023-04-19 20:55:42 +1000
committerGitHub <noreply@github.com>2023-04-19 12:55:42 +0200
commit00b0ae7ba439a5a420095175b3bedd52c569db51 (patch)
treef02d081e361d5e65603f74dea3873dcc6606cf7c /mypy-strict.ini
parent5253e57e9f26cf3e59cb2460544af13f56e485bb (diff)
PyParted and a large rewrite of the underlying partitioning (#1604)
* Invert mypy files * Add optional pre-commit hooks * New profile structure * Serialize profiles * Use profile instead of classmethod * Custom profile setup * Separator between back * Support profile import via url * Move profiles module * Refactor files * Remove symlink * Add user to docker group * Update schema description * Handle list services * mypy fixes * mypy fixes * Rename profilesv2 to profiles * flake8 * mypy again * Support selecting DM * Fix mypy * Cleanup * Update greeter setting * Update schema * Revert toml changes * Poc external dependencies * Dependency support * New encryption menu * flake8 * Mypy and flake8 * Unify lsblk command * Update bootloader configuration * Git hooks * Fix import * Pyparted * Remove custom font setting * flake8 * Remove default preview * Manual partitioning menu * Update structure * Disk configuration * Update filesystem * luks2 encryption * Everything works until installation * Btrfsutil * Btrfs handling * Update btrfs * Save encryption config * Fix pipewire issue * Update mypy version * Update all pre-commit * Update package versions * Revert audio/pipewire * Merge master PRs * Add master changes * Merge master changes * Small renaming * Pull master changes * Reset disk enc after disk config change * Generate locals * Update naming * Fix imports * Fix broken sync * Fix pre selection on table menu * Profile menu * Update profile * Fix post_install * Added python-pyparted to PKGBUILD, this requires [testing] to be enabled in order to run makepkg. Package still works via python -m build etc. * Swaped around some setuptools logic in pyproject Since we define `package-data` and `packages` there should be no need for: ``` [tool.setuptools.packages.find] where = ["archinstall", "archinstall.*"] ``` * Removed pyproject collisions. Duplicate definitions. * Made sure pyproject.toml includes languages * Add example and update README * Fix pyproject issues * Generate locale * Refactor imports * Simplify imports * Add profile description and package examples * Align code * Fix mypy * Simplify imports * Fix saving config * Fix wrong luks merge * Refactor installation * Fix cdrom device loading * Fix wrongly merged code * Fix imports and greeter * Don't terminate on partprobe error * Use specific path on partprobe from luks * Update archinstall/lib/disk/device_model.py Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com> * Update archinstall/lib/disk/device_model.py Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com> * Update github workflow to test archinstall installation * Update sway merge * Generate locales * Update workflow --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com> Co-authored-by: Anton Hvornum <anton@hvornum.se> Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com> Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com>
Diffstat (limited to 'mypy-strict.ini')
-rw-r--r--mypy-strict.ini102
1 files changed, 102 insertions, 0 deletions
diff --git a/mypy-strict.ini b/mypy-strict.ini
new file mode 100644
index 00000000..be7ddf57
--- /dev/null
+++ b/mypy-strict.ini
@@ -0,0 +1,102 @@
+[mypy]
+python_version = 3.10
+follow_imports = silent
+exclude = (?x)(
+ | ^archinstall/lib/configuration\.py$
+ | ^archinstall/lib/disk/btrfs/btrfssubvolumeinfo\.py$
+ | ^archinstall/lib/disk/helpers\.py$
+ | ^archinstall/lib/hsm/fido\.py$
+ | ^archinstall/lib/menu/list_manager\.py$
+ | ^archinstall/lib/menu/menu\.py$
+ | ^archinstall/lib/menu/simple_menu\.py$
+ | ^archinstall/lib/menu/text_input\.py$
+ | ^archinstall/lib/models/dataclasses\.py$
+ | ^archinstall/lib/models/network_configuration\.py$
+ | ^archinstall/lib/models/password_strength\.py$
+ | ^archinstall/lib/models/pydantic\.py$
+ | ^archinstall/lib/models/subvolume\.py$
+ | ^archinstall/lib/models/users\.py$
+ | ^archinstall/lib/output\.py$
+ | ^archinstall/lib/plugins\.py$
+ | ^archinstall/examples/guided\.py$
+ | ^archinstall/examples/minimal\.py$
+ | ^archinstall/examples/only_hd\.py$
+ | ^archinstall/examples/swiss\.py$
+ | ^archinstall/__init__\.py$
+ | ^archinstall/lib/disk/blockdevice\.py$
+ | ^archinstall/lib/disk/btrfs/btrfs_helpers\.py$
+ | ^archinstall/lib/disk/btrfs/btrfspartition\.py$
+ | ^archinstall/lib/disk/dmcryptdev\.py$
+ | ^archinstall/lib/disk/filesystem\.py$
+ | ^archinstall/lib/disk/mapperdev\.py$
+ | ^archinstall/lib/disk/partition\.py$
+ | ^archinstall/lib/disk/user_guides\.py$
+ | ^archinstall/lib/general\.py$
+ | ^archinstall/lib/hardware\.py$
+ | ^archinstall/lib/installer\.py$
+ | ^archinstall/lib/locale_helpers\.py$
+ | ^archinstall/lib/luks\.py$
+ | ^archinstall/lib/menu/global_menu\.py$
+ | ^archinstall/lib/menu/selection_menu\.py$
+ | ^archinstall/lib/mirrors\.py$
+ | ^archinstall/lib/networking\.py$
+ | ^archinstall/lib/packages/packages\.py$
+ | ^archinstall/lib/pacman\.py$
+ | ^archinstall/lib/profiles\.py$
+ | ^archinstall/lib/systemd\.py$
+ | ^archinstall/lib/translation\.py$
+ | ^archinstall/lib/user_interaction/backwards_compatible_conf\.py$
+ | ^archinstall/lib/user_interaction/disk_conf\.py$
+ | ^archinstall/lib/user_interaction/general_conf\.py$
+ | ^archinstall/lib/user_interaction/locale_conf\.py$
+ | ^archinstall/lib/user_interaction/manage_users_conf\.py$
+ | ^archinstall/lib/user_interaction/network_conf\.py$
+ | ^archinstall/lib/user_interaction/partitioning_conf\.py$
+ | ^archinstall/lib/user_interaction/save_conf\.py$
+ | ^archinstall/lib/user_interaction/system_conf\.py$
+ | ^archinstall/lib/user_interaction/utils\.py$
+ | ^archinstall/profiles/applications/pipewire\.py$
+ | ^archinstall/profiles/awesome\.py$
+ | ^archinstall/profiles/bspwm\.py$
+ | ^archinstall/profiles/budgie\.py$
+ | ^archinstall/profiles/cinnamon\.py$
+ | ^archinstall/profiles/cutefish\.py$
+ | ^archinstall/profiles/deepin\.py$
+ | ^archinstall/profiles/desktop\.py$
+ | ^archinstall/profiles/enlightenment\.py$
+ | ^archinstall/profiles/gnome\.py$
+ | ^archinstall/profiles/i3\.py$
+ | ^archinstall/profiles/kde\.py$
+ | ^archinstall/profiles/lxqt\.py$
+ | ^archinstall/profiles/mate\.py$
+ | ^archinstall/profiles/minimal\.py$
+ | ^archinstall/profiles/qtile\.py$
+ | ^archinstall/profiles/server\.py$
+ | ^archinstall/profiles/sway\.py$
+ | ^archinstall/profiles/xfce4\.py$
+ | ^archinstall/profiles/xorg\.py$
+ | ^profiles/applications/pipewire\.py$
+ | ^profiles/awesome\.py$
+ | ^profiles/bspwm\.py$
+ | ^profiles/budgie\.py$
+ | ^profiles/cinnamon\.py$
+ | ^profiles/cutefish\.py$
+ | ^profiles/deepin\.py$
+ | ^profiles/desktop\.py$
+ | ^profiles/enlightenment\.py$
+ | ^profiles/gnome\.py$
+ | ^profiles/i3\.py$
+ | ^profiles/kde\.py$
+ | ^profiles/lxqt\.py$
+ | ^profiles/mate\.py$
+ | ^profiles/minimal\.py$
+ | ^profiles/qtile\.py$
+ | ^profiles/server\.py$
+ | ^profiles/sway\.py$
+ | ^profiles/xfce4\.py$
+ | ^profiles/xorg\.py$
+ | ^examples/guided\.py$
+ | ^examples/only_hd\.py$
+ | ^examples/minimal\.py$
+ | ^examples/swiss\.py$)
+files = archinstall/, profiles/, examples/