Skip to content

All directives are ignored for line-length check #19

Description

@mskrip

Example:

.. note:: This is an example not that should be too long for a single line and the linter should report it

IMO directive code should be ignored but others shouldn't

Activity

  1. mskrip commented on Sep 12, 2019

    @mskrip
    Author

    Or maybe the list of directives that should be checked / ignored should be configurable. What do you think?

  2. h1nk commented on Sep 27, 2019

    @h1nk

    Something seems very incorrect with how doc8 (I'm using version 0.8.0) is parsing directives that contain blocks of content. It doesn't seem to know when directive blocks like code-block:: and testcode:: end. In this fragment from some documentation I wrote you can clearly see that lines 36-47 contain multiple line-length violations, but no errors are accumulated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue/PR relates to a bug.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions