Package Details: proselint 0.14.0-1

Git Clone URL: https://aur.archlinux.org/proselint.git (read-only, click to copy)
Package Base: proselint
Description: A linter for prose
Upstream URL: https://github.com/amperser/proselint
Licenses: BSD-3-Clause
Submitter: arojas
Maintainer: carsme
Last Packager: carsme
Votes: 8
Popularity: 0.050146
First Submitted: 2021-05-08 09:23 (UTC)
Last Updated: 2024-04-23 05:47 (UTC)

Latest Comments

« First ‹ Previous 1 2

harleypig commented on 2021-05-15 17:13 (UTC)

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 =============================================================