anchor.diff:  , setuptools-scm
   , stdenv
   , ujson
  +, whatthepatch
   , yapf
   , withAutopep8 ? true
   , withFlake8 ? true
  
positive.code:   # pyqt5 is broken on aarch64-darwin
    ++ lib.optionals (!stdenv.isDarwin || !stdenv.isAarch64) [ pyqt5 ];
  
    disabledTests = lib.optional (!withPycodestyle) "test_workspace_loads_pycodestyle_config"
    # pyqt5 is broken on aarch64-darwin
    ++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) "test_pyqt_completion";
  
  
negative.code:   };
  
    postPatch = ''
      substituteInPlace pyproject.toml \
        --replace "--cov-report html --cov-report term --junitxml=pytest.xml" "" \
        --replace "--cov pylsp --cov test" "" \
        --replace "mccabe>=0.6.0,<0.7.0" "mccabe"
  