Jan Tojnar
|
a1de6d5467
|
gnome.updateScript: Add more type annotations
Also switch to enums instead of string values and extract the main function.
Validated with:
nix-shell -I "nixpkgs=channel:nixos-unstable" -p python3 -p python3Packages.mypy -p python3.pkgs.libversion -p python3.pkgs.requests -p python3.pkgs.types-requests --run 'python -m mypy pkgs/desktops/gnome/find-latest-version.py'
|
2022-10-25 16:23:42 +02:00 |
|