Unverified Commit ee981864 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

mopidyPackages.mopidy-spotify: remove unnecessary optional dependencies (#462274)

parents bdbb65c3 4c4a73d5
Loading
Loading
Loading
Loading
+4 −19
Original line number Diff line number Diff line
@@ -26,26 +26,11 @@ pythonPackages.buildPythonApplication rec {
    pythonPackages.requests
  ];

  optional-dependencies = {
    lint = with pythonPackages; [
      black
      check-manifest
      flake8
      flake8-bugbear
      isort
  nativeCheckInputs = [
    pythonPackages.pytestCheckHook
    pythonPackages.responses
  ];

    test = with pythonPackages; [
      pytest
      pytest-cov
      responses
    ];

    dev = optional-dependencies.lint ++ optional-dependencies.test ++ [ pythonPackages.tox ];
  };

  nativeCheckInputs = [ pythonPackages.pytestCheckHook ] ++ optional-dependencies.test;

  pythonImportsCheck = [ "mopidy_spotify" ];

  passthru = {