diff --git a/Makefile b/Makefile index 2fa2dbd..598e6ff 100644 --- a/Makefile +++ b/Makefile @@ -39,3 +39,11 @@ yamllint: .PHONY: package package: (umask 0022; python -m build; python -m twine check --strict ./dist/*) + +.PHONY: check-typos +check-typos: + typos + +.PHONY: fix-typos +fix-typos: + typos -w diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 0000000..a8284dc --- /dev/null +++ b/_typos.toml @@ -0,0 +1,2 @@ +[files] +extend-exclude = ["_introspect.py"] diff --git a/src/dbus_python_client_gen/_invokers.py b/src/dbus_python_client_gen/_invokers.py index 796962e..c2534c2 100644 --- a/src/dbus_python_client_gen/_invokers.py +++ b/src/dbus_python_client_gen/_invokers.py @@ -48,7 +48,7 @@ def prop_builder( # noqa: PLR0915 :param str interface_name: the interface to which these properties belong :param properties: iterable of interface specifications for each property :type properties: iterable of xml.element.ElementTree.Element - :param int defaul_timeout: the D-Bus timeout, -1 is the libdbus default ~25s + :param int default_timeout: the D-Bus timeout, -1 is the libdbus default ~25s :raises DPClientGenerationError: """