-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Solved the issue with imports so that both convert_from_file and conv…
…ert_from_text can be used wihtout importing paml2html.paml2html as well as tests work
- Loading branch information
1 parent
7e190fb
commit 663cfc7
Showing
5 changed files
with
10 additions
and
4 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 |
---|---|---|
@@ -1,10 +1,13 @@ | ||
[tool.poetry] | ||
name = "paml2html" | ||
version = "0.1.0" | ||
version = "0.1.1" | ||
description = "[P]oker's M[a]de-up [M]arkup [L]anguage to HTML converter" | ||
authors = ["PokerFacowaty <[email protected]>"] | ||
license = "MIT" | ||
readme = "README.md" | ||
packages = [ | ||
{ include = "paml2html", from = "src" }, | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
|
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,3 @@ | ||
from .paml2html import convert_from_file, convert_from_text | ||
|
||
__all__ = ["convert_from_file", "convert_from_text"] |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from src.paml2html import paml2html | ||
from paml2html import paml2html | ||
from pathlib import Path | ||
import unittest | ||
|
||
|
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