From 1e5857232f44a81ffecb5d1aabd7fef93619fee4 Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Fri, 8 Jul 2022 09:55:34 +0200 Subject: [PATCH] Add optdepends based on upstream documentation See https://github.com/python-lsp/python-lsp-server#installation --- trunk/PKGBUILD | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index ffcdf078..b490e275 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -28,6 +28,17 @@ checkdepends=( flake8 yapf ) +optdepends=( + 'python-mccabe: complexity checking' + 'python-pycodestyle: linter - style checking' + 'python-pydocstyle: linter - docstring style checking' + 'python-pyflakes: linter to detect various errors' + 'python-pylint: code linting' + 'python-rope: for completions and renaming' + 'autopep8: code formatting' + 'flake8: error checking' + 'yapf: code formatting (preferred)' +) source=(https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz) sha256sums=('be7f83298af9f0951a93972cafc9db04fd7cf5c05f20812515275f0ba70e342f') -- 2.37.0