Skip to content

Commit

Permalink
Make the find_severity part of the public API
Browse files Browse the repository at this point in the history
Fixes lordmauve#20

This is for tools such as [`genbadge`](https://github.com/smarie/python-genbadge) to get the same level of severity as `flake8_html` from the `flake8` codes
  • Loading branch information
smarie authored May 18, 2021
1 parent 3724bc4 commit 35ea027
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake8_html/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
__version__ = '0.4.1'


from .plugin import HTMLPlugin
from .plugin import HTMLPlugin, find_severity

__all__ = (
'HTMLPlugin',
'HTMLPlugin', 'find_severity'
)

0 comments on commit 35ea027

Please sign in to comment.