From cf455cd5aff84691aab68eea6b4b698cd2b18a9d Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Sun, 27 Feb 2022 15:33:36 -0800 Subject: [PATCH] Build of artifact fails if raw directive used A recent change to center the logo made use of the html raw keyword in the README. Apparently this fails when building the Bandit artifact. Checking dist/bandit-1.7.3.dev33-py3-none-any.whl: FAILED `long_description` has syntax errors in markup and would not be rendered on PyPI. line 1: Warning: "raw" directive disabled. warning: `long_description_content_type` missing. defaulting to `text/x-rst`. This change reverts the centering, but keeps the updated link. Signed-off-by: Eric Brown --- README.rst | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 9da48530..98da2ce7 100644 --- a/README.rst +++ b/README.rst @@ -1,8 +1,5 @@ -.. raw:: html - -

- Bandit -

+.. image:: https://raw.githubusercontent.com/pycqa/bandit/main/logo/logotype-sm.png + :alt: Bandit ======