From 2c7a58435365109ea9c41743fa163b2046d42a8a Mon Sep 17 00:00:00 2001 From: Peter Cock Date: Tue, 11 Aug 2020 16:52:33 +0100 Subject: [PATCH] Document suggested ignores for Google style Should address #17. --- README.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.rst b/README.rst index 62df8ad..9987d54 100644 --- a/README.rst +++ b/README.rst @@ -212,6 +212,18 @@ for example in your ``.flake8``, ``setup.cfg``, or ``tox.ini`` file, e.g.:: Note that flake8 allows splitting the comma separated lists over multiple lines, and allows including of hash comment lines. +If you are using the `Google Python Style +`_ +you will sometimes get unwanted warnings from this plugin - particularly in the +argument descriptions - as it does not use strict RST. We therefore currently +suggest ignoring some of the violation codes:: + + [flake8] + extend-ignore = + # Google Python style is not RST until after processed by Napoleon + # See https://github.com/peterjc/flake8-rst-docstrings/issues/17 + RST203,RST301, + Version History ---------------