generated from keep-starknet-strange/alexandria
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace print with logger in snapshot script (#376)
* Remove print and use logger * Add ignored trunk files
- Loading branch information
1 parent
8d32427
commit 299b2b4
Showing
7 changed files
with
103 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
*out | ||
*logs | ||
*actions | ||
*notifications | ||
*tools | ||
plugins | ||
user_trunk.yaml | ||
user.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[settings] | ||
profile=black |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
enable=all | ||
source-path=SCRIPTDIR | ||
disable=SC2154 | ||
|
||
# If you're having issues with shellcheck following source, disable the errors via: | ||
# disable=SC1090 | ||
# disable=SC1091 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
rules: | ||
quoted-strings: | ||
required: only-when-needed | ||
extra-allowed: ["{|}"] | ||
empty-values: | ||
forbid-in-block-mappings: true | ||
forbid-in-flow-mappings: true | ||
key-duplicates: {} | ||
octal-values: | ||
forbid-implicit-octal: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Generic, formatter-friendly config. | ||
select = ["B", "D3", "D4", "E", "F"] | ||
|
||
# Never enforce `E501` (line length violations). This should be handled by formatters. | ||
ignore = ["E501"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# This file controls the behavior of Trunk: https://docs.trunk.io/cli | ||
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml | ||
version: 0.1 | ||
cli: | ||
version: 1.16.1 | ||
plugins: | ||
sources: | ||
- id: trunk | ||
ref: v1.2.4 | ||
uri: https://github.com/trunk-io/plugins | ||
runtimes: | ||
enabled: | ||
- go@1.21.0 | ||
- node@18.12.1 | ||
- python@3.10.8 | ||
lint: | ||
files: | ||
- name: cairo | ||
extensions: | ||
- cairo | ||
definitions: | ||
- name: cairo | ||
files: [cairo] | ||
commands: | ||
- output: rewrite | ||
success_codes: [0] | ||
run: scarb fmt | ||
run_linter_from: workspace | ||
enabled: | ||
# https://github.com/software-mansion/scarb/issues/700 | ||
# - cairo@SYSTEM | ||
- actionlint@1.6.26 | ||
- bandit@1.7.5 | ||
- black@23.9.1 | ||
- checkov@2.4.9 | ||
- git-diff-check | ||
- isort@5.12.0 | ||
- markdownlint@0.37.0 | ||
- oxipng@8.0.0 | ||
- prettier@3.0.3 | ||
- ruff@0.0.291 | ||
- shellcheck@0.9.0 | ||
- shfmt@3.6.0 | ||
- taplo@0.8.1 | ||
- trivy@0.45.1 | ||
- trufflehog@3.57.0 | ||
- yamllint@1.32.0 | ||
actions: | ||
disabled: | ||
- trunk-announce | ||
- trunk-fmt-pre-commit | ||
enabled: | ||
- trunk-check-pre-push | ||
- trunk-upgrade-available |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters