diff --git a/pyproject.toml b/pyproject.toml index 4a1b3230c8c3648fb0f2b85e6e12d49626f3ddc1..9c5a9fc0d503ada5ab213890bc836142e9dda20c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,6 +31,8 @@ pre-commit-hooks = {git = "https://github.com/Lucas-C/pre-commit-hooks"} gitlab-ci-linter = {git = "https://gitlab.com/devopshq/gitlab-ci-linter"} #autohooks-plugin-mypy = {path = "../autohooks-plugin-mypy", develop = true} autohooks-plugin-mypy = "^0.1.0" +#autohooks-plugin-insert-license = {path = "../autohooks-plugin-insert-license", develop = true} +autohooks-plugin-insert-license = "^0.1.0" [build-system] requires = ["poetry-core>=1.0.0a5"] @@ -43,6 +45,7 @@ pre-commit = [ "autohooks.plugins.isort", "autohooks.plugins.pylint", "autohooks.plugins.mypy", + "autohooks.plugins.insert_license", ] [tool.isort] @@ -50,3 +53,6 @@ profile = "black" [tool.autohooks.plugins.mypy] arguments = ["--ignore-missing-imports"] + +[tool.autohooks.plugins.insert_license] +arguments = ["--license-filepath=license_header.txt"]