treewide: apply updated treefmt

This commit is contained in:
Gaetan Lepage 2026-01-23 10:09:11 +01:00 committed by Matt Sturgeon
parent a4522deb63
commit 4c09a1ac2d
16 changed files with 56 additions and 56 deletions

View file

@ -548,35 +548,35 @@ in
with cfg.pythonPackage.pkgs;
{
pylsp_mypy = pylsp-mypy.overridePythonAttrs (old: {
postPatch = old.postPatch or '''' + ''
postPatch = old.postPatch or "" + ''
substituteInPlace setup.cfg \
--replace-fail "python-lsp-server >=1.7.0" ""
'';
});
isort = pyls-isort.overridePythonAttrs (old: {
postPatch = old.postPatch or '''' + ''
postPatch = old.postPatch or "" + ''
substituteInPlace setup.py \
--replace-fail 'install_requires=["python-lsp-server", "isort"],' 'install_requires=["isort"],'
'';
});
black = python-lsp-black.overridePythonAttrs (old: {
postPatch = old.postPatch or '''' + ''
postPatch = old.postPatch or "" + ''
substituteInPlace setup.cfg \
--replace-fail "python-lsp-server>=1.4.0" ""
'';
});
memestra = pyls-memestra.overridePythonAttrs (old: {
postPatch = old.postPatch or '''' + ''
postPatch = old.postPatch or "" + ''
sed -i '/python-lsp-server/d' requirements.txt
'';
});
rope = pylsp-rope.overridePythonAttrs (old: {
postPatch = old.postPatch or '''' + ''
postPatch = old.postPatch or "" + ''
sed -i '/python-lsp-server/d' setup.cfg
'';
});
ruff = python-lsp-ruff.overridePythonAttrs (old: {
postPatch = old.postPatch or '''' + ''
postPatch = old.postPatch or "" + ''
sed -i '/python-lsp-server/d' pyproject.toml
'';