Skip to content

Commit

Permalink
Fix "reportMissingTypeStubs" info when importing BL_Python pacakges.
Browse files Browse the repository at this point in the history
Related #33
  • Loading branch information
aholmes committed Dec 11, 2023
1 parent 136e52d commit d03715a
Show file tree
Hide file tree
Showing 27 changed files with 45 additions and 1 deletion.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
global-include *.pyi
global-include py.typed
Empty file added py.typed
Empty file.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ packages = [
"BL_Python.web"
]

[tool.setuptools.package-data]
"BL_Python" = ["py.typed"]

#
[project.optional-dependencies]
dev-dependencies = [
Expand Down
2 changes: 2 additions & 0 deletions src/AWS/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
global-include *.pyi
global-include py.typed
Empty file added src/AWS/py.typed
Empty file.
3 changes: 3 additions & 0 deletions src/AWS/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ readme = {file = ["README.md"], content-type = "text/markdown"}

[tool.setuptools.packages]
find = {}

[tool.setuptools.package-data]
"BL_Python.AWS" = ["py.typed"]
2 changes: 2 additions & 0 deletions src/GitHub/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
global-include *.pyi
global-include py.typed
Empty file added src/GitHub/py.typed
Empty file.
3 changes: 3 additions & 0 deletions src/GitHub/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ readme = {file = ["README.md"], content-type = "text/markdown"}
[tool.setuptools.packages]
find = {}

[tool.setuptools.package-data]
"BL_Python.GitHub" = ["py.typed"]

[project.optional-dependencies]
dev-dependencies = [
"pytest == 7.4.0",
Expand Down
2 changes: 2 additions & 0 deletions src/database/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
global-include *.pyi
global-include py.typed
Empty file added src/database/py.typed
Empty file.
3 changes: 3 additions & 0 deletions src/database/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ readme = {file = ["README.md"], content-type = "text/markdown"}
[tool.setuptools.packages]
find = {}

[tool.setuptools.package-data]
"BL_Python.database" = ["py.typed"]

[project.optional-dependencies]
postgres = [
"psycopg2 ~= 2.9"
Expand Down
2 changes: 2 additions & 0 deletions src/development/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
global-include *.pyi
global-include py.typed
Empty file added src/development/py.typed
Empty file.
3 changes: 3 additions & 0 deletions src/development/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ readme = {file = ["README.md"], content-type = "text/markdown"}

[tool.setuptools.packages]
find = {}

[tool.setuptools.package-data]
"BL_Python.development" = ["py.typed"]
2 changes: 2 additions & 0 deletions src/platform/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
global-include *.pyi
global-include py.typed
Empty file added src/platform/py.typed
Empty file.
3 changes: 3 additions & 0 deletions src/platform/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ readme = {file = ["README.md"], content-type = "text/markdown"}

[tool.setuptools.packages]
find = {}

[tool.setuptools.package-data]
"BL_Python.platform" = ["py.typed"]
2 changes: 2 additions & 0 deletions src/programming/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
global-include *.pyi
global-include py.typed
Empty file added src/programming/py.typed
Empty file.
3 changes: 3 additions & 0 deletions src/programming/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,6 @@ readme = {file = ["README.md"], content-type = "text/markdown"}

[tool.setuptools.packages]
find = {}

[tool.setuptools.package-data]
"BL_Python.programming" = ["py.typed"]
2 changes: 2 additions & 0 deletions src/testing/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
global-include *.pyi
global-include py.typed
Empty file added src/testing/py.typed
Empty file.
3 changes: 3 additions & 0 deletions src/testing/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ readme = {file = ["README.md"], content-type = "text/markdown"}

[tool.setuptools.packages]
find = {}

[tool.setuptools.package-data]
"BL_Python.testing" = ["py.typed"]
4 changes: 3 additions & 1 deletion src/web/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
graft BL_Python/web/scaffolding/templates/
graft BL_Python/web/scaffolding/templates/
global-include *.pyi
global-include py.typed
Empty file added src/web/py.typed
Empty file.
2 changes: 2 additions & 0 deletions src/web/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ find = {}

[tool.setuptools.package-data]
"*" = ["*.j2"]
"BL_Python.web" = ["py.typed"]


[project.scripts]
bl-python-scaffold = "BL_Python.web.scaffolding.__main__:scaffold"
Expand Down

0 comments on commit d03715a

Please sign in to comment.