Skip to content

flake8-rst 0.4.3 config? #23665

Closed
Closed
@TomAugspurger

Description

@TomAugspurger

With flake8-rst 0.4.2 the output of flake8-rst doc/source --filename="*.rst" is clean.

With 0.4.3, I see a bunch of failures like

doc/source/install.rst:226:14: E999 SyntaxError: invalid syntax
doc/source/sparse.rst:9:4: E402 module level import not at top of file
doc/source/sparse.rst:10:4: E402 module level import not at top of file
doc/source/sparse.rst:10:4: F401 'pandas.util.testing as tm' imported but unused
doc/source/sparse.rst:97:21: E702 multiple statements on one line (semicolon)
doc/source/sparse.rst:247:41: E127 continuation line over-indented for visual indent
doc/source/comparison_with_r.rst:8:4: F401 'numpy as np' imported but unused
doc/source/comparison_with_r.rst:9:31: E225 missing whitespace around operator
doc/source/comparison_with_r.rst:169:6: E121 continuation line under-indented for hanging indent
doc/source/comparison_with_r.rst:169:14: E231 missing whitespace after ','

cc @datapythonista will we need some excludes in the flake8-rst section of setup.cfg?

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIContinuous IntegrationDocs

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions