Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

markdown: Add Markdown formatter #312

Merged
merged 12 commits into from
Jun 30, 2022
Merged

markdown: Add Markdown formatter #312

merged 12 commits into from
Jun 30, 2022

Conversation

tetsuo-cpp
Copy link
Contributor

@tetsuo-cpp tetsuo-cpp commented Jun 28, 2022

Closes #296

  • Get coverage passing

@tetsuo-cpp tetsuo-cpp marked this pull request as draft June 28, 2022 14:08
@tetsuo-cpp tetsuo-cpp marked this pull request as ready for review June 29, 2022 05:09
woodruffw and others added 3 commits June 29, 2022 11:15
Markdown allows raw newlines as line separators, so we don't bother
with `os.linesep`. We also use f-strings, where possible.

Signed-off-by: William Woodruff <[email protected]>
Copy link
Member

@woodruffw woodruffw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@woodruffw woodruffw merged commit 8157d28 into main Jun 30, 2022
@woodruffw woodruffw deleted the alex/markdown branch June 30, 2022 13:48
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Jul 14, 2022
## [2.4.1]

### Fixed

* Fixed a breakage in hash-checking mode caused by a
  [change to the PyPI JSON API](https://discuss.python.org/t/backwards-incompatible-change-to-pypi-json-api/17154)
  ([#318](pypa/pip-audit#318))

## [2.4.0]

### Added

* Output formats: `pip-audit` now supports a Markdown format
  (`--format=markdown`) which renders results as a set of Markdown tables.
  ([#312](pypa/pip-audit#312))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make our table output format Markdown-compatible
2 participants