Skip to content

Commit b04c057

Browse files
committed
ALL: Reorganized to avoid IDEs showing external and / or private elements
1 parent 73784a3 commit b04c057

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

dist/PyWinBox-0.4-py3-none-any.whl

227 Bytes
Binary file not shown.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
license='BSD 3',
3333
packages=find_packages(where='src'),
3434
package_dir={'': 'src'},
35-
package_data={"pywinbox": ["py.typed"]},
35+
package_data={"pywinbox": ["py.typed"], "ewmhlib": ["py.typed"]},
3636
test_suite='tests',
3737
install_requires=[
3838
"pywin32>=302; sys_platform == 'win32'",

src/pywinbox/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
__version__ = "0.4"
99

1010

11-
def version(numberOnly: bool = True):
11+
def version(numberOnly: bool = True) -> str:
1212
"""Returns the current version of PyWinBox module, in the form ''x.x.xx'' as string"""
1313
return ("" if numberOnly else "PyWinBox-")+__version__
1414

src/pywinbox/_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Size(NamedTuple):
3535
height: int
3636

3737

38-
def pointInBox(x: int, y: int, box: Box):
38+
def pointInBox(x: int, y: int, box: Box) -> bool:
3939
"""Returns ``True`` if the ``(x, y)`` point is within the box described
4040
by ``(left, top, width, height)``."""
4141
return box.left <= x <= box.left + box.width and box.top <= y <= box.top + box.height

0 commit comments

Comments
 (0)