Skip to content

Commit e9b838c

Browse files
author
Dominik Falkner
committed
feat(liccheck): Update to use pyproject.toml
1 parent d0a9edc commit e9b838c

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

‎{{ cookiecutter.__package_name_kebab_case }}/pyproject.toml‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,7 @@ _check_format = "black --check ."
5656
_check_sort_imports = "isort --check ."
5757
_check_lint = "ruff check ."
5858

59-
# if you are using poetry for dependency management, you have to generate a requirements.txt first
60-
_convert_to_req_txt = { shell = "poetry export --without-hashes --format=requirements.txt > requirements.txt" }
61-
# check authorization of the licenses of dependencies as defined in [tool.liccheck] section
62-
# (or a separate liccheck.ini-file)
63-
_check_licenses = "liccheck -s liccheck.ini -r requirements.txt"
64-
65-
check_licenses = [
66-
"_convert_to_req_txt",
67-
"_check_licenses",
68-
]
59+
check_licenses = "liccheck -s pyproject.toml"
6960

7061
docs = "mkdocs serve"
7162
precommit = ["_format", "_sort_imports", "_lint"]

0 commit comments

Comments
 (0)