snapcraft: run nixfmt-rfc-style

This commit is contained in:
Jon Seager 2024-07-09 13:46:08 +02:00
parent 57cf148d2b
commit 646456a7f3
No known key found for this signature in database

View File

@ -107,9 +107,7 @@ python3Packages.buildPythonApplication rec {
tinydb
];
nativeBuildInputs = with python3Packages; [
setuptools
];
nativeBuildInputs = with python3Packages; [ setuptools ];
pythonRelaxDeps = [
"docutils"
@ -122,7 +120,9 @@ python3Packages.buildPythonApplication rec {
wrapProgram $out/bin/snapcraft --prefix PATH : ${squashfsTools}/bin
'';
nativeCheckInputs = with python3Packages; [
nativeCheckInputs =
with python3Packages;
[
pytest-check
pytest-cov
pytest-mock
@ -130,7 +130,8 @@ python3Packages.buildPythonApplication rec {
pytestCheckHook
responses
setuptools
] ++ [
]
++ [
git
squashfsTools
];
@ -164,9 +165,7 @@ python3Packages.buildPythonApplication rec {
"test_snap_command_fallback"
"test_validate_architectures_supported"
"test_validate_architectures_unsupported"
] ++ lib.optionals stdenv.isAarch64 [
"test_load_project"
];
] ++ lib.optionals stdenv.isAarch64 [ "test_load_project" ];
disabledTestPaths = [
"tests/unit/commands/test_remote.py"