-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
83 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[flake8] | ||
format = pylint | ||
# E203: https://github.com/python/black/issues/315 | ||
ignore = E741,W503,W504,H,E501,E203,D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ coverage_html_report | |
.coverage | ||
docs/source/_build | ||
man/ansi2html.1.xml | ||
src/ansi2html/_version.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from __future__ import annotations | ||
|
||
from ansi2html.converter import Ansi2HTMLConverter | ||
|
||
try: | ||
# pyright: reportMissingImport=false | ||
from ansi2html._version import __version__ # mypy: disable | ||
except ImportError: # pragma: no branch | ||
|
||
try: | ||
import pkg_resources | ||
|
||
__version__ = pkg_resources.get_distribution("ansi2html").version | ||
except Exception: # pylint: disable=broad-except | ||
# this is the fallback SemVer version picked by setuptools_scm when tag | ||
# information is not available. | ||
__version__ = "0.1.dev1" | ||
|
||
__all__ = ("Ansi2HTMLConverter", "__version__") |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.