diff --git a/.ecrc b/.ecrc index a0ef7686..888b8f03 100644 --- a/.ecrc +++ b/.ecrc @@ -1,6 +1,6 @@ { "Exclude": [ - "LICENSE.txt", - "poetry.lock" + "^LICENSE\\.txt$", + "^poetry\\.lock$" ] } diff --git a/Taskfile.yml b/Taskfile.yml index e99b746d..e798b619 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -90,6 +90,7 @@ tasks: cmds: - | cp \ + "{{.WORKFLOW_TEMPLATE_ASSETS_PATH}}/check-general-formatting/.ecrc" \ "{{.WORKFLOW_TEMPLATE_ASSETS_PATH}}/general/.editorconfig" \ "{{.WORKFLOW_TEMPLATE_ASSETS_PATH}}/check-python/.flake8" \ "{{.WORKFLOW_TEMPLATE_ASSETS_PATH}}/check-markdown/.markdownlint.yml" \ diff --git a/workflow-templates/assets/check-general-formatting/.ecrc b/workflow-templates/assets/check-general-formatting/.ecrc index a0ef7686..888b8f03 100644 --- a/workflow-templates/assets/check-general-formatting/.ecrc +++ b/workflow-templates/assets/check-general-formatting/.ecrc @@ -1,6 +1,6 @@ { "Exclude": [ - "LICENSE.txt", - "poetry.lock" + "^LICENSE\\.txt$", + "^poetry\\.lock$" ] }