Skip to content
Snippets Groups Projects
Commit d18bf146 authored by Vincent Texier's avatar Vincent Texier
Browse files

[enh] add autohooks.plugins.insert_license

parent 5e67371f
No related branches found
No related tags found
No related merge requests found
......@@ -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"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment