Skip to content

Commit

Permalink
Build of artifact fails if raw directive used (#831)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ericwb authored Feb 27, 2022
1 parent d8c7e3c commit 20a0510
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
.. raw:: html

<p align="center">
<img src="https://raw.githubusercontent.com/pycqa/bandit/main/logo/logotype-sm.png" alt="Bandit">
</p>
.. image:: https://raw.githubusercontent.com/pycqa/bandit/main/logo/logotype-sm.png
:alt: Bandit

======

Expand Down

0 comments on commit 20a0510

Please sign in to comment.