diff --git a/Makefile b/Makefile index 7edcd64f..67b4426f 100644 --- a/Makefile +++ b/Makefile @@ -66,7 +66,7 @@ dist: clean-build clean-pyc clean-docs ## builds source and wheel package .PHONY: create-pot create-pot: ## generate .pot file - xgettext --add-comments --from-code=utf-8 --output=po/reuse.pot src/reuse/**.py + xgettext --add-comments --from-code=utf-8 --output=po/reuse.pot src/reuse/**/*.py xgettext --add-comments --output=po/click.pot "${VIRTUAL_ENV}"/lib/python*/*-packages/click/**.py msgcat --output=po/reuse.pot po/reuse.pot po/click.pot for name in po/*.po; do \ diff --git a/src/reuse/cli/common.py b/src/reuse/cli/common.py index 0e185f27..1f943fba 100644 --- a/src/reuse/cli/common.py +++ b/src/reuse/cli/common.py @@ -106,7 +106,7 @@ def handle_parse_result( def spdx_identifier(text: str) -> Expression: - """factory for creating SPDX expressions.""" + """Factory for creating SPDX expressions.""" try: return _LICENSING.parse(text) except (ExpressionError, ParseError) as error: