forked from python-poetry/poetry-core
-
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.
Signed-off-by: oleg.hoefling <[email protected]>
- Loading branch information
Showing
21 changed files
with
148 additions
and
5 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
Empty file.
4 changes: 4 additions & 0 deletions
4
tests/masonry/builders/fixtures/pep_561_stub_only/pkg-stubs/module.pyi
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 @@ | ||
"""Example module""" | ||
from typing import Tuple | ||
|
||
version_info = Tuple[int, int, int] |
Empty file.
14 changes: 14 additions & 0 deletions
14
tests/masonry/builders/fixtures/pep_561_stub_only/pyproject.toml
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,14 @@ | ||
[tool.poetry] | ||
name = "pep-561-stubs" | ||
version = "0.1" | ||
description = "PEP 561 stub package example" | ||
authors = [ | ||
"Oleg Höfling <[email protected]>" | ||
] | ||
license = "MIT" | ||
packages = [ | ||
{include = "pkg-stubs"} | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.6" |
Empty file.
4 changes: 4 additions & 0 deletions
4
tests/masonry/builders/fixtures/pep_561_stub_only_partial/pkg-stubs/module.pyi
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 @@ | ||
"""Example module""" | ||
from typing import Tuple | ||
|
||
version_info = Tuple[int, int, int] |
1 change: 1 addition & 0 deletions
1
tests/masonry/builders/fixtures/pep_561_stub_only_partial/pkg-stubs/py.typed
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 @@ | ||
partial |
Empty file.
14 changes: 14 additions & 0 deletions
14
tests/masonry/builders/fixtures/pep_561_stub_only_partial/pyproject.toml
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,14 @@ | ||
[tool.poetry] | ||
name = "pep-561-stubs" | ||
version = "0.1" | ||
description = "PEP 561 stub package example with the py.typed marker file" | ||
authors = [ | ||
"Oleg Höfling <[email protected]>" | ||
] | ||
license = "MIT" | ||
packages = [ | ||
{include = "pkg-stubs"} | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.6" |
14 changes: 14 additions & 0 deletions
14
tests/masonry/builders/fixtures/pep_561_stub_only_src/pyproject.toml
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,14 @@ | ||
[tool.poetry] | ||
name = "pep-561-stubs" | ||
version = "0.1" | ||
description = "PEP 561 stub package example with an src layout" | ||
authors = [ | ||
"Oleg Höfling <[email protected]>" | ||
] | ||
license = "MIT" | ||
packages = [ | ||
{include = "pkg-stubs", from = "src"} | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.6" |
Empty file.
4 changes: 4 additions & 0 deletions
4
tests/masonry/builders/fixtures/pep_561_stub_only_src/src/pkg-stubs/module.pyi
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 @@ | ||
"""Example module""" | ||
from typing import Tuple | ||
|
||
version_info = Tuple[int, int, int] |
Empty file.
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
Empty file.
5 changes: 5 additions & 0 deletions
5
tests/masonry/utils/fixtures/pep_561_stub_only/bad/module.pyi
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,5 @@ | ||
"""Example module""" | ||
from typing import Tuple | ||
|
||
|
||
version_info = Tuple[int, int, int] |
Empty file.
5 changes: 5 additions & 0 deletions
5
tests/masonry/utils/fixtures/pep_561_stub_only/good-stubs/module.pyi
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,5 @@ | ||
"""Example module""" | ||
from typing import Tuple | ||
|
||
|
||
version_info = Tuple[int, int, int] |
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