Package Details: proselint 0.10.2-6

Git Clone URL: https://aur.archlinux.org/proselint.git (read-only, click to copy)
Package Base: proselint
Description: Linter for prose
Upstream URL: https://github.com/amperser/proselint
Licenses: BSD
Conflicts: python-proselint
Replaces: python-proselint
Submitter: arojas
Maintainer: carsme
Last Packager: arojas
Votes: 1
Popularity: 0.54
First Submitted: 2021-05-08 09:23
Last Updated: 2021-05-08 09:23

Latest Comments

carsme commented on 2021-05-15 18:47

@harleypig I'm afraid I'm unable to reproduce your issue on my machine or in a container.

You could bypass the checks that fails in order to install the package. How this is done will depend of what AUR helper you use.

Additionally, due to a bug in aurweb I'm currently unable to update this package. See this: https://gitlab.archlinux.org/archlinux/aurweb/-/issues/11

harleypig commented on 2021-05-15 17:13

Getting an error when trying to install:


self = <json.decoder.JSONDecoder object at 0x7f8b8476ea60>, s = '{\n  "checks": {\n    "dates_times.am_pm": false\n    "leonard.exclamation.30ppm": false\n  }\n}\n', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.

        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.

        """
        try:
>           obj, end = self.scan_once(s, idx)
E           json.decoder.JSONDecodeError: Expecting ',' delimiter: line 4 column 5 (char 51)

/usr/lib/python3.9/json/decoder.py:353: JSONDecodeError
====================================================================================== warnings summary ======================================================================================
../../../../../usr/lib/python3.9/site-packages/past/builtins/misc.py:45
  /usr/lib/python3.9/site-packages/past/builtins/misc.py:45: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    from imp import reload

../../../../../usr/lib/python3.9/site-packages/packaging/version.py:127: 1048 warnings
  /usr/lib/python3.9/site-packages/packaging/version.py:127: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
    warnings.warn(

tests/test_gmeu/test_a_A.py:10
  tests/test_gmeu/test_a_A.py:10: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_a_vs_an will be ignored
    def test_a_vs_an():

tests/test_gmeu/test_a_B.py:10
  tests/test_gmeu/test_a_B.py:10: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_a_distributive will be ignored
    def test_a_distributive():

-- Docs: https://docs.pytest.org/en/stable/warnings.html
================================================================================== short test summary info ===================================================================================
FAILED tests/test_tools.py::TestLint::test_errors_sorted - json.decoder.JSONDecodeError: Expecting ',' delimiter: line 4 column 5 (char 51)
FAILED tests/test_tools.py::TestLint::test_on_no_newlines - json.decoder.JSONDecodeError: Expecting ',' delimiter: line 4 column 5 (char 51)
============================================================= 2 failed, 141 passed, 1 skipped, 2 xfailed, 1051 warnings in 2.45s =============================================================