[arch-commits] Commit in python-language-server/trunk (.pylintrc PKGBUILD)
Maxim Baz
maximbaz at archlinux.org
Wed Mar 27 23:05:26 UTC 2019
Date: Wednesday, March 27, 2019 @ 23:05:25
Author: maximbaz
Revision: 445046
upgpkg: python-language-server 0.26.0-1
Added:
python-language-server/trunk/.pylintrc
Modified:
python-language-server/trunk/PKGBUILD
-----------+
.pylintrc | 28 ++++++++++++++++++++++++++++
PKGBUILD | 22 ++++++++++++++--------
2 files changed, 42 insertions(+), 8 deletions(-)
Added: .pylintrc
===================================================================
--- .pylintrc (rev 0)
+++ .pylintrc 2019-03-27 23:05:25 UTC (rev 445046)
@@ -0,0 +1,28 @@
+[FORMAT]
+
+max-line-length = 120
+
+[MESSAGES CONTROL]
+
+enable =
+ useless-suppression
+
+disable =
+ duplicate-code,
+ invalid-name,
+ fixme,
+ missing-docstring,
+ protected-access,
+ too-few-public-methods,
+ too-many-arguments,
+ too-many-instance-attributes
+
+[REPORTS]
+
+reports = no
+
+[TYPECHECK]
+
+generated-members =
+ pyls_*
+ cache_clear
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-27 22:33:06 UTC (rev 445045)
+++ PKGBUILD 2019-03-27 23:05:25 UTC (rev 445046)
@@ -3,7 +3,7 @@
# Contributor: fenuks
pkgname=python-language-server
-pkgver=0.25.0
+pkgver=0.26.0
pkgrel=1
pkgdesc="An implementation of the Language Server Protocol for Python"
arch=("any")
@@ -22,19 +22,25 @@
checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov" "python-pyflakes"
"python-mock" "python-jedi" "python-future" "yapf" "python-mccabe" "python-pycodestyle"
"autopep8" "python-rope" "python-pydocstyle" "python-pylint" "python-jsonrpc-server")
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('01f4b6273b62cc74cfb107a9c2123b57e43d8617b4d7c1b2afe258d2b0b24bf5')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ ".pylintrc") # https://github.com/palantir/python-language-server/issues/520
+sha256sums=('2334f3c0276e14559c127fe89902e19856bc086487fa5f7398d1dc7974b73dba'
+ '66f7975240cab2710d6419aa56a2af1371373e102e128cab3f4048c31a7dcf9f')
+# https://github.com/palantir/python-language-server/issues/520
+prepare() {
+ cp .pylintrc "${pkgname}-${pkgver}"
+}
+
build() {
cd "${pkgname}-${pkgver}"
python setup.py build
}
-# https://github.com/palantir/python-language-server/issues/520
-# check() {
-# cd "${pkgname}-${pkgver}"
-# py.test
-# }
+check() {
+ cd "${pkgname}-${pkgver}"
+ py.test
+}
package() {
cd "${pkgname}-${pkgver}"
More information about the arch-commits
mailing list