X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7282d816c8d70fa70e199ec8e4b5b679fbaa1caa..84bac1bb4df234d0c25d94fb1abbf9289d2d55c1:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 29243583..9e914850 100644 --- a/Makefile +++ b/Makefile @@ -18,13 +18,13 @@ build-api: tests: mypy lint pytest bdd mypy: - mypy --strict src + mypy --strict --python-version 3.8 src pytest: pytest test/python lint: - pylint src + flake8 src bdd: cd test/bdd; behave -DREMOVE_TEMPLATE=1 @@ -37,4 +37,8 @@ doc: serve-doc: mkdocs serve -.PHONY: tests mypy pytest lint bdd build clean-build build-db build-api doc serve-doc +manpage: + argparse-manpage --pyfile man/create-manpage.py --function get_parser --project-name Nominatim --url https://nominatim.org > man/nominatim.1 --author 'the Nominatim developer community' --author-email info@nominatim.org + + +.PHONY: tests mypy pytest lint bdd build clean-build build-db build-api doc serve-doc manpage