Skip to content

Commit 5fdabda

Browse files
authored
chore: minor adjustments, aligning pre-commit tealer cmd, parametrizing code_tours (#24)
1 parent e0acc13 commit 5fdabda

File tree

6 files changed

+10
-4
lines changed

6 files changed

+10
-4
lines changed

copier.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ ide_vscode:
5858
when: "{{ preset_name == 'custom' }}"
5959
default: yes
6060

61+
code_tours:
62+
type: bool
63+
help: Do you want to add interactive VSCode CodeTour walkthrough?
64+
when: "{{ preset_name == 'custom' }}"
65+
default: "{{ 'yes' if ide_vscode == yes else 'no' }}"
66+
6167
ide_jetbrains:
6268
type: bool
6369
help: Do you want to add JetBrains configuration (primarily optimized for PyCharm CE)?

examples/generators/production_python_smart_contract_python/.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ repos:
4141
description: "Run AlgoKit `Tealer` for TEAL static analysis"
4242
entry: algokit
4343
language: system
44-
args: [task, analyze, ".algokit", "--recursive", "--force"]
44+
args: [project, run, "audit-teal"]
4545
require_serial: false
4646
additional_dependencies: []
4747
minimum_pre_commit_version: "0"

examples/generators/production_python_smart_contract_typescript/.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ repos:
4141
description: "Run AlgoKit `Tealer` for TEAL static analysis"
4242
entry: algokit
4343
language: system
44-
args: [task, analyze, ".algokit", "--recursive", "--force"]
44+
args: [project, run, "audit-teal"]
4545
require_serial: false
4646
additional_dependencies: []
4747
minimum_pre_commit_version: "0"

examples/production_python/.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ repos:
4141
description: "Run AlgoKit `Tealer` for TEAL static analysis"
4242
entry: algokit
4343
language: system
44-
args: [task, analyze, ".algokit", "--recursive", "--force"]
44+
args: [project, run, "audit-teal"]
4545
require_serial: false
4646
additional_dependencies: []
4747
minimum_pre_commit_version: "0"

template_content/{% if use_pre_commit %}.pre-commit-config.yaml{% endif %}.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ repos:
4141
description: "Run AlgoKit `Tealer` for TEAL static analysis"
4242
entry: algokit
4343
language: system
44-
args: [task, analyze, ".algokit", "--recursive", "--force"]
44+
args: [project, run, "audit-teal"]
4545
require_serial: false
4646
additional_dependencies: []
4747
minimum_pre_commit_version: "0"

0 commit comments

Comments
 (0)