diff options
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 50 |
1 files changed, 24 insertions, 26 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 1c92ebf9e88..aa119c90eaf 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm | |||
| @@ -2334,40 +2334,38 @@ dtypes and shapes of arrays for NumPy, extending @code{numpy.typing}.") | |||
| 2334 | (define-public python-pylama | 2334 | (define-public python-pylama |
| 2335 | (package | 2335 | (package |
| 2336 | (name "python-pylama") | 2336 | (name "python-pylama") |
| 2337 | (version "7.7.1") | 2337 | (version "8.4.1") |
| 2338 | (source | 2338 | (source |
| 2339 | (origin | 2339 | (origin |
| 2340 | (method url-fetch) | 2340 | (method git-fetch) ;no tests in PyPI archive |
| 2341 | (uri (pypi-uri "pylama" version)) | 2341 | (uri (git-reference |
| 2342 | (url "https://github.com/klen/pylama") | ||
| 2343 | (commit version))) | ||
| 2344 | (file-name (git-file-name name version)) | ||
| 2342 | (sha256 | 2345 | (sha256 |
| 2343 | (base32 | 2346 | (base32 "1x9cnyfnd574mj8ckd5hbfg2wy128zg0k2cd3zc7vdbnimksvqaq")))) |
| 2344 | "13vx7daqz2918y9s8q3v2i3xaq3ah43a9p58srqi6hqskkpm7blv")))) | 2347 | (build-system pyproject-build-system) |
| 2345 | (build-system python-build-system) | ||
| 2346 | (arguments | 2348 | (arguments |
| 2347 | `(#:phases (modify-phases %standard-phases | 2349 | (list |
| 2348 | (add-after 'unpack 'disable-failing-tests | 2350 | ;; Cycles with pylint: python-pylama -> python-isort -> python-pylint -> |
| 2349 | (lambda _ | 2351 | ;; python-pylama |
| 2350 | ;; Fails with: "ImportError: cannot import name | 2352 | #:tests? #f)) |
| 2351 | ;; 'commented_out_code_line_numbers' from 'eradicate'". | ||
| 2352 | (delete-file "pylama/lint/pylama_eradicate.py") | ||
| 2353 | ;; Requires python-astroid, which fails to build on | ||
| 2354 | ;; Python 3.9+ (see: | ||
| 2355 | ;; https://github.com/PyCQA/astroid/issues/881). | ||
| 2356 | (delete-file "pylama/lint/pylama_pylint.py")))))) | ||
| 2357 | (native-inputs | 2353 | (native-inputs |
| 2358 | (list python-py python-pytest python-radon)) | 2354 | (list python-setuptools |
| 2355 | python-wheel)) | ||
| 2359 | (propagated-inputs | 2356 | (propagated-inputs |
| 2360 | `(("python-mccabe" ,python-mccabe) | 2357 | (list python-mypy-minimal |
| 2361 | ("python-mypy", python-mypy-minimal) | 2358 | python-mccabe |
| 2362 | ("python-pycodestyle" ,python-pycodestyle) | 2359 | python-pycodestyle |
| 2363 | ("python-pydocstyle" ,python-pydocstyle) | 2360 | python-pydocstyle |
| 2364 | ("python-pyflakes" ,python-pyflakes))) | 2361 | python-pyflakes)) |
| 2365 | (home-page "https://github.com/klen/pylama") | 2362 | (home-page "https://github.com/klen/pylama") |
| 2366 | (synopsis "Code audit tool for python") | 2363 | (synopsis "Code audit tool for python") |
| 2367 | (description "Pylama is a code audit tool for Python and JavaScript to check | 2364 | (description |
| 2368 | for style, syntax and other code health metrics. It is essentially a | 2365 | "Pylama is a code audit tool for Python and JavaScript to check for |
| 2369 | convenient wrapper above tools such as Pyflakes, pydocstyle, pycodestyle and | 2366 | style, syntax and other code health metrics. It is essentially a convenient |
| 2370 | McCabe, among others.") | 2367 | wrapper above tools such as Pyflakes, pydocstyle, pycodestyle and McCabe, |
| 2368 | among others.") | ||
| 2371 | (license license:lgpl3+))) | 2369 | (license license:lgpl3+))) |
| 2372 | 2370 | ||
| 2373 | (define-public python-pyannotate | 2371 | (define-public python-pyannotate |
