Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pre-commit errors/warnings #326

Open
BaseMax opened this issue Nov 19, 2024 · 2 comments
Open

Fix pre-commit errors/warnings #326

BaseMax opened this issue Nov 19, 2024 · 2 comments
Assignees

Comments

@BaseMax
Copy link
Member

BaseMax commented Nov 19, 2024

max@DESKTOP-SSI3MPL:/mnt/c/Users/MAX/Salam$  pre-commit run --all-files
[WARNING] Unexpected key(s) present on https://github.com/adrienverge/yamllint => yamllint: env
[INFO] Installing environment for https://github.com/shssoichiro/oxipng.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/adrienverge/yamllint.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-clang-format.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pycqa/isort.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
run identity.............................................................Passed
- hook id: identity
- duration: 0.07s

example/card-header.salam
example/test2.salam
.github/linters/.hadolint.yaml
src/ast.h
config/layout/attribute/style/value.yaml
src/downloader.c
LICENSE
config/language.validate.py
src/string_buffer.c
src/generator_layout.c
src/ast_layout.h
example/test-input.salam
src/array_custom.h
src/main.h
config/layout/attribute/style/state.validate.py
src/main.c
src/log.h
src/config/ast_layout_attribute_style_state_type.h
src/log.c
src/array.h
example/test-button.salam
test/layout/body-hover/tokens.txt
example/testgroup.salam
src/token.h
.gitignore
src/memory.h
test/layout/body-hover/style.css
src/hashmap_custom.h
requirements.txt
assets/logo.png
example/layout.salam
example/test-custom-button.salam
example/test-select.salam
config/type.validate.py
config/layout/attribute/type.validate.py
test/layout/body-hover/layout.salam
.github/workflows/first_interaction.yml
.clang-format
assets/logo-box.png
config/layout/attribute/style/type.validate.py
CODE_OF_CONDUCT.md
.github/workflows/web-assembly.yml
src/parser_layout.h
example/repeat-block.salam
.github/ISSUE_TEMPLATE/bug_report.md
build-linux.sh
src/config/ast_block_type.h
.pre-commit-config.yaml
CONTRIBUTING.md
src/base.h
example/test4.salam
test/layout/body-hover/script.js
config/sync.py
src/hashmap.c
src/generator.h
src/generator_identifier.c
src/lexer.c
src/config/ast_layout_attribute_style_value.h
test/layout/custom-font/index.html
example/test7.salam
.prettierignore
.github/labeler.yml
.github/CODEOWNERS
example/test-box.salam
.codespellrc
example/bintext.py
src/config/ast_layout_type.h
src/generator_salam.c
VERSION
.github/linters/codespell.txt
src/ast_layout_style.c
src/parser.c
example/everything.salam
src/config/ast_layout_attribute_style_type.h
test/layout/body-hover/index.html
test/layout/custom-font/layout.salam
example/custom-font.salam
example/test.salam
example/testme.salam
.proselintrc.json
example/form.salam
build-webassembly.sh
src/config/ast_layout_attribute_type.h
src/parser_layout.c
.github/ISSUE_TEMPLATE/feature_request.md
.github/linters/.markdown-lint.yml
src/ast_layout.c
src/config/ast_layout_attribute_style_filter.h
config/language.yaml
src/hashmap.h
assets/logo.svg
config/layout/type.validate.py
src/generator_salam.h
src/ast.c
test/layout/custom-font/style.css
example/testhover.salam
example/test-first.salam
.prettierrc
.github/workflows/test.yml
config/layout/attribute/style/state.yaml
.editorconfig
assets/logo-box.svg
src/generator_layout_style.c
example/test-textarea.salam
example/hover.salam
src/string_buffer.h
config/layout/attribute/style/global_value.yaml
src/generator_layout.h
example/test5.salam
test/tests.py
.dockerignore
test/layout/custom-font/tokens.txt
example/test-lint.salam
src/parser.h
example/page-hover-opacity.salam
example/margin-auto.salam
build-windows.bat
src/config/ast_layout_attribute_style_global.h
example/input.salam
example/test-include.salam
Makefile
src/generator_layout_style.h
example/js.salam
.github/ISSUE_TEMPLATE/custom.md
config/layout/attribute/style/global_value.validate.py
src/file.h
src/config/ast_type.h
pyproject.toml
.github/workflows/build-release.yml
config/layout/type.yaml
.bashrc
config/block.yaml
src/generator.c
config/layout/attribute/style/type.yaml
src/generator_identifier.h
config/layout/attribute/type.yaml
.github/linters/.yaml-lint.yml
.gitattributes
example/inputme.salam
.github/linters/.htmlhintrc
src/lexer.h
.github/dependabot.yml
example/test3.salam
example/card.salam
src/file.c
salam-online.html
example/test-label.salam
src/validator.h
example/test6.salam
.github/pull_request_template.md
example/test-table.salam
src/array.c
example/form-action.salam
.github/workflows/proselint.yml
test/layout/custom-font/script.js
src/ast_layout_style.h
.github/workflows/pr-labeler.yml
.github/workflows/super-linter.yml
src/array_custom.c
README.md
src/hashmap_custom.c
config/type.yaml
src/downloader.h
example/test-link.salam
example/test-image-link.salam
config/layout/attribute/style/value.validate.py
src/validator.c
src/config/ast_value_kind.h
src/memory.c

check hooks apply to the repository......................................Passed
run prettier.............................................................Failed
- hook id: prettier
- exit code: 2
- files were modified by this hook

.clang-format 30ms (unchanged)
.github/dependabot.yml 10ms (unchanged)
.github/ISSUE_TEMPLATE/bug_report.md 87ms (unchanged)
.github/ISSUE_TEMPLATE/custom.md 6ms (unchanged)
.github/ISSUE_TEMPLATE/feature_request.md 22ms (unchanged)
.github/labeler.yml 14ms (unchanged)
.github/linters/.hadolint.yaml 5ms (unchanged)
.github/linters/.htmlhintrc 59ms (unchanged)
.github/linters/.markdown-lint.yml 9ms (unchanged)
.github/linters/.yaml-lint.yml 6ms (unchanged)
.github/pull_request_template.md 14ms (unchanged)
.github/workflows/build-release.yml 63ms (unchanged)
.github/workflows/first_interaction.yml 39ms (unchanged)
.github/workflows/pr-labeler.yml 6ms (unchanged)
.github/workflows/proselint.yml 12ms (unchanged)
.github/workflows/super-linter.yml 6ms (unchanged)
.github/workflows/test.yml 17ms (unchanged)
.github/workflows/web-assembly.yml 14ms (unchanged)
.pre-commit-config.yaml 31ms (unchanged)
.prettierrc 8ms (unchanged)
.proselintrc.json 13ms (unchanged)
CODE_OF_CONDUCT.md 7ms (unchanged)
config/block.yaml 2ms (unchanged)
config/language.yaml 5ms (unchanged)
config/layout/attribute/style/global_value.yaml 5ms (unchanged)
config/layout/attribute/style/state.yaml 72ms (unchanged)
config/layout/attribute/style/type.yaml
[error] config/layout/attribute/style/type.yaml: SyntaxError: Map keys must be unique; "values" is repeated (1167:5)
[error]   1165 |         - ستون های الگوی شبکه
[error]   1166 |     values: []
[error] > 1167 |   - id: AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE_ROWS
[error]        |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1168 |     generate_name: grid-template-rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1169 |     type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1170 |     reserved_values: ast_layout_allowed_style_list_grid_template_rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1171 |     text:
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1172 |       en: grid-template-rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1173 |       fa:
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1174 |         - ردیف‌های الگوی شبکه
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1175 |         - ردیف های الگوی شبکه
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1176 |     values: []
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1177 |     values: []
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1178 |   - id: AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_JUSTIFY_CONTENT
[error]        | ^
[error]   1179 |     generate_name: justify-content
[error]   1180 |     type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING
[error]   1181 |     reserved_values: ast_layout_allowed_style_list_justify_content
config/layout/attribute/type.yaml 65ms (unchanged)
config/layout/type.yaml 158ms (unchanged)
config/type.yaml 8ms (unchanged)
CONTRIBUTING.md 33ms (unchanged)
README.md 14ms (unchanged)
salam-online.html 284ms
.clang-format 22ms (unchanged)
.github/dependabot.yml 16ms (unchanged)
.github/ISSUE_TEMPLATE/bug_report.md 69ms (unchanged)
.github/ISSUE_TEMPLATE/custom.md 8ms (unchanged)
.github/ISSUE_TEMPLATE/feature_request.md 18ms (unchanged)
.github/labeler.yml 20ms (unchanged)
.github/linters/.hadolint.yaml 4ms (unchanged)
.github/linters/.htmlhintrc 63ms (unchanged)
.github/linters/.markdown-lint.yml 5ms (unchanged)
.github/linters/.yaml-lint.yml 8ms (unchanged)
.github/pull_request_template.md 17ms (unchanged)
.github/workflows/build-release.yml 38ms (unchanged)
.github/workflows/first_interaction.yml 8ms (unchanged)
.github/workflows/pr-labeler.yml 4ms (unchanged)
.github/workflows/proselint.yml 15ms (unchanged)
.github/workflows/super-linter.yml 6ms (unchanged)
.github/workflows/test.yml 15ms (unchanged)
.github/workflows/web-assembly.yml 19ms (unchanged)
.pre-commit-config.yaml 22ms (unchanged)
.prettierrc 10ms (unchanged)
.proselintrc.json 4ms (unchanged)
CODE_OF_CONDUCT.md 17ms (unchanged)
config/block.yaml 3ms (unchanged)
config/language.yaml 6ms (unchanged)
config/layout/attribute/style/global_value.yaml 5ms (unchanged)
config/layout/attribute/style/state.yaml 34ms (unchanged)
config/layout/attribute/style/type.yaml
[error] config/layout/attribute/style/type.yaml: SyntaxError: Map keys must be unique; "values" is repeated (1167:5)
[error]   1165 |         - ستون های الگوی شبکه
[error]   1166 |     values: []
[error] > 1167 |   - id: AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE_ROWS
[error]        |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1168 |     generate_name: grid-template-rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1169 |     type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1170 |     reserved_values: ast_layout_allowed_style_list_grid_template_rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1171 |     text:
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1172 |       en: grid-template-rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1173 |       fa:
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1174 |         - ردیف‌های الگوی شبکه
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1175 |         - ردیف های الگوی شبکه
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1176 |     values: []
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1177 |     values: []
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1178 |   - id: AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_JUSTIFY_CONTENT
[error]        | ^
[error]   1179 |     generate_name: justify-content
[error]   1180 |     type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING
[error]   1181 |     reserved_values: ast_layout_allowed_style_list_justify_content
config/layout/attribute/type.yaml 31ms (unchanged)
config/layout/type.yaml 163ms (unchanged)
config/type.yaml 14ms (unchanged)
CONTRIBUTING.md 102ms (unchanged)
README.md 13ms (unchanged)
salam-online.html 316ms
.clang-format 48ms (unchanged)
.github/dependabot.yml 11ms (unchanged)
.github/ISSUE_TEMPLATE/bug_report.md 75ms (unchanged)
.github/ISSUE_TEMPLATE/custom.md 5ms (unchanged)
.github/ISSUE_TEMPLATE/feature_request.md 25ms (unchanged)
.github/labeler.yml 12ms (unchanged)
.github/linters/.hadolint.yaml 3ms (unchanged)
.github/linters/.htmlhintrc 62ms (unchanged)
.github/linters/.markdown-lint.yml 4ms (unchanged)
.github/linters/.yaml-lint.yml 8ms (unchanged)
.github/pull_request_template.md 14ms (unchanged)
.github/workflows/build-release.yml 35ms (unchanged)
.github/workflows/first_interaction.yml 6ms (unchanged)
.github/workflows/pr-labeler.yml 5ms (unchanged)
.github/workflows/proselint.yml 11ms (unchanged)
.github/workflows/super-linter.yml 12ms (unchanged)
.github/workflows/test.yml 10ms (unchanged)
.github/workflows/web-assembly.yml 13ms (unchanged)
.pre-commit-config.yaml 31ms (unchanged)
.prettierrc 11ms (unchanged)
.proselintrc.json 5ms (unchanged)
CODE_OF_CONDUCT.md 29ms (unchanged)
config/block.yaml 3ms
config/language.yaml 5ms
config/layout/attribute/style/global_value.yaml 4ms
config/layout/attribute/style/state.yaml 33ms (unchanged)
config/layout/attribute/style/type.yaml
[error] config/layout/attribute/style/type.yaml: SyntaxError: Map keys must be unique; "values" is repeated (1167:5)
[error]   1165 |         - ستون های الگوی شبکه
[error]   1166 |     values: []
[error] > 1167 |   - id: AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE_ROWS
[error]        |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1168 |     generate_name: grid-template-rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1169 |     type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1170 |     reserved_values: ast_layout_allowed_style_list_grid_template_rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1171 |     text:
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1172 |       en: grid-template-rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1173 |       fa:
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1174 |         - ردیف‌های الگوی شبکه
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1175 |         - ردیف های الگوی شبکه
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1176 |     values: []
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1177 |     values: []
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1178 |   - id: AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_JUSTIFY_CONTENT
[error]        | ^
[error]   1179 |     generate_name: justify-content
[error]   1180 |     type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING
[error]   1181 |     reserved_values: ast_layout_allowed_style_list_justify_content
config/layout/attribute/type.yaml 25ms
config/layout/type.yaml 149ms (unchanged)
config/type.yaml 13ms
CONTRIBUTING.md 84ms (unchanged)
README.md 13ms (unchanged)
salam-online.html 267ms
.clang-format 34ms (unchanged)
.github/dependabot.yml 9ms (unchanged)
.github/ISSUE_TEMPLATE/bug_report.md 64ms (unchanged)
.github/ISSUE_TEMPLATE/custom.md 8ms (unchanged)
.github/ISSUE_TEMPLATE/feature_request.md 20ms (unchanged)
.github/labeler.yml 15ms (unchanged)
.github/linters/.hadolint.yaml 3ms (unchanged)
.github/linters/.htmlhintrc 65ms (unchanged)
.github/linters/.markdown-lint.yml 3ms (unchanged)
.github/linters/.yaml-lint.yml 4ms (unchanged)
.github/pull_request_template.md 16ms (unchanged)
.github/workflows/build-release.yml 34ms (unchanged)
.github/workflows/first_interaction.yml 13ms (unchanged)
.github/workflows/pr-labeler.yml 6ms (unchanged)
.github/workflows/proselint.yml 8ms (unchanged)
.github/workflows/super-linter.yml 6ms (unchanged)
.github/workflows/test.yml 20ms (unchanged)
.github/workflows/web-assembly.yml 13ms (unchanged)
.pre-commit-config.yaml 40ms (unchanged)
.prettierrc 8ms (unchanged)
.proselintrc.json 7ms (unchanged)
CODE_OF_CONDUCT.md 13ms (unchanged)
config/block.yaml 3ms (unchanged)
config/language.yaml 5ms
config/layout/attribute/style/global_value.yaml 3ms
config/layout/attribute/style/state.yaml 36ms (unchanged)
config/layout/attribute/style/type.yaml
[error] config/layout/attribute/style/type.yaml: SyntaxError: Map keys must be unique; "values" is repeated (1167:5)
[error]   1165 |         - ستون های الگوی شبکه
[error]   1166 |     values: []
[error] > 1167 |   - id: AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE_ROWS
[error]        |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1168 |     generate_name: grid-template-rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1169 |     type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1170 |     reserved_values: ast_layout_allowed_style_list_grid_template_rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1171 |     text:
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1172 |       en: grid-template-rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1173 |       fa:
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1174 |         - ردیف‌های الگوی شبکه
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1175 |         - ردیف های الگوی شبکه
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1176 |     values: []
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1177 |     values: []
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1178 |   - id: AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_JUSTIFY_CONTENT
[error]        | ^
[error]   1179 |     generate_name: justify-content
[error]   1180 |     type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING
[error]   1181 |     reserved_values: ast_layout_allowed_style_list_justify_content
config/layout/attribute/type.yaml 42ms
config/layout/type.yaml 211ms (unchanged)
config/type.yaml 10ms (unchanged)
CONTRIBUTING.md 55ms (unchanged)
README.md 13ms (unchanged)
salam-online.html 271ms
.clang-format 49ms (unchanged)
.github/dependabot.yml 10ms (unchanged)
.github/ISSUE_TEMPLATE/bug_report.md 72ms (unchanged)
.github/ISSUE_TEMPLATE/custom.md 7ms (unchanged)
.github/ISSUE_TEMPLATE/feature_request.md 16ms (unchanged)
.github/labeler.yml 11ms (unchanged)
.github/linters/.hadolint.yaml 3ms (unchanged)
.github/linters/.htmlhintrc 68ms (unchanged)
.github/linters/.markdown-lint.yml 8ms (unchanged)
.github/linters/.yaml-lint.yml 12ms (unchanged)
.github/pull_request_template.md 11ms (unchanged)
.github/workflows/build-release.yml 49ms (unchanged)
.github/workflows/first_interaction.yml 8ms (unchanged)
.github/workflows/pr-labeler.yml 4ms (unchanged)
.github/workflows/proselint.yml 10ms (unchanged)
.github/workflows/super-linter.yml 8ms (unchanged)
.github/workflows/test.yml 12ms (unchanged)
.github/workflows/web-assembly.yml 17ms (unchanged)
.pre-commit-config.yaml 32ms (unchanged)
.prettierrc 16ms (unchanged)
.proselintrc.json 3ms (unchanged)
CODE_OF_CONDUCT.md 13ms (unchanged)
config/block.yaml 5ms (unchanged)
config/language.yaml 5ms (unchanged)
config/layout/attribute/style/global_value.yaml 3ms (unchanged)
config/layout/attribute/style/state.yaml 41ms (unchanged)
config/layout/attribute/style/type.yaml
[error] config/layout/attribute/style/type.yaml: SyntaxError: Map keys must be unique; "values" is repeated (1167:5)
[error]   1165 |         - ستون های الگوی شبکه
[error]   1166 |     values: []
[error] > 1167 |   - id: AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE_ROWS
[error]        |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1168 |     generate_name: grid-template-rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1169 |     type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1170 |     reserved_values: ast_layout_allowed_style_list_grid_template_rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1171 |     text:
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1172 |       en: grid-template-rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1173 |       fa:
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1174 |         - ردیف‌های الگوی شبکه
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1175 |         - ردیف های الگوی شبکه
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1176 |     values: []
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1177 |     values: []
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1178 |   - id: AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_JUSTIFY_CONTENT
[error]        | ^
[error]   1179 |     generate_name: justify-content
[error]   1180 |     type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING
[error]   1181 |     reserved_values: ast_layout_allowed_style_list_justify_content
config/layout/attribute/type.yaml 31ms (unchanged)
config/layout/type.yaml 239ms (unchanged)
config/type.yaml 8ms (unchanged)
CONTRIBUTING.md 36ms (unchanged)
README.md 12ms (unchanged)
salam-online.html 263ms
.clang-format 34ms (unchanged)
.github/dependabot.yml 11ms (unchanged)
.github/ISSUE_TEMPLATE/bug_report.md 67ms (unchanged)
.github/ISSUE_TEMPLATE/custom.md 17ms (unchanged)
.github/ISSUE_TEMPLATE/feature_request.md 23ms (unchanged)
.github/labeler.yml 14ms (unchanged)
.github/linters/.hadolint.yaml 6ms (unchanged)
.github/linters/.htmlhintrc 65ms (unchanged)
.github/linters/.markdown-lint.yml 31ms (unchanged)
.github/linters/.yaml-lint.yml 10ms (unchanged)
.github/pull_request_template.md 8ms (unchanged)
.github/workflows/build-release.yml 44ms (unchanged)
.github/workflows/first_interaction.yml 6ms (unchanged)
.github/workflows/pr-labeler.yml 6ms (unchanged)
.github/workflows/proselint.yml 8ms (unchanged)
.github/workflows/super-linter.yml 6ms (unchanged)
.github/workflows/test.yml 21ms (unchanged)
.github/workflows/web-assembly.yml 16ms (unchanged)
.pre-commit-config.yaml 22ms (unchanged)
.prettierrc 14ms (unchanged)
.proselintrc.json 4ms (unchanged)
CODE_OF_CONDUCT.md 13ms (unchanged)
config/block.yaml 2ms (unchanged)
config/language.yaml 5ms (unchanged)
config/layout/attribute/style/global_value.yaml 3ms (unchanged)
config/layout/attribute/style/state.yaml 40ms (unchanged)
config/layout/attribute/style/type.yaml
[error] config/layout/attribute/style/type.yaml: SyntaxError: Map keys must be unique; "values" is repeated (1167:5)
[error]   1165 |         - ستون های الگوی شبکه
[error]   1166 |     values: []
[error] > 1167 |   - id: AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE_ROWS
[error]        |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1168 |     generate_name: grid-template-rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1169 |     type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1170 |     reserved_values: ast_layout_allowed_style_list_grid_template_rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1171 |     text:
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1172 |       en: grid-template-rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1173 |       fa:
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1174 |         - ردیف‌های الگوی شبکه
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1175 |         - ردیف های الگوی شبکه
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1176 |     values: []
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1177 |     values: []
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1178 |   - id: AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_JUSTIFY_CONTENT
[error]        | ^
[error]   1179 |     generate_name: justify-content
[error]   1180 |     type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING
[error]   1181 |     reserved_values: ast_layout_allowed_style_list_justify_content
config/layout/attribute/type.yaml 25ms (unchanged)
config/layout/type.yaml 202ms (unchanged)
config/type.yaml 5ms (unchanged)
CONTRIBUTING.md 69ms (unchanged)
README.md 14ms (unchanged)
salam-online.html 283ms
.clang-format 36ms (unchanged)
.github/dependabot.yml 9ms (unchanged)
.github/ISSUE_TEMPLATE/bug_report.md 74ms (unchanged)
.github/ISSUE_TEMPLATE/custom.md 7ms (unchanged)
.github/ISSUE_TEMPLATE/feature_request.md 24ms (unchanged)
.github/labeler.yml 24ms (unchanged)
.github/linters/.hadolint.yaml 3ms (unchanged)
.github/linters/.htmlhintrc 56ms (unchanged)
.github/linters/.markdown-lint.yml 11ms (unchanged)
.github/linters/.yaml-lint.yml 7ms (unchanged)
.github/pull_request_template.md 11ms (unchanged)
.github/workflows/build-release.yml 51ms (unchanged)
.github/workflows/first_interaction.yml 13ms (unchanged)
.github/workflows/pr-labeler.yml 6ms (unchanged)
.github/workflows/proselint.yml 8ms (unchanged)
.github/workflows/super-linter.yml 6ms (unchanged)
.github/workflows/test.yml 12ms (unchanged)
.github/workflows/web-assembly.yml 22ms (unchanged)
.pre-commit-config.yaml 29ms (unchanged)
.prettierrc 8ms (unchanged)
.proselintrc.json 5ms (unchanged)
CODE_OF_CONDUCT.md 11ms (unchanged)
config/block.yaml 3ms (unchanged)
config/language.yaml 3ms (unchanged)
config/layout/attribute/style/global_value.yaml 2ms (unchanged)
config/layout/attribute/style/state.yaml 46ms (unchanged)
config/layout/attribute/style/type.yaml
[error] config/layout/attribute/style/type.yaml: SyntaxError: Map keys must be unique; "values" is repeated (1167:5)
[error]   1165 |         - ستون های الگوی شبکه
[error]   1166 |     values: []
[error] > 1167 |   - id: AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_GRID_TEMPLATE_ROWS
[error]        |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1168 |     generate_name: grid-template-rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1169 |     type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1170 |     reserved_values: ast_layout_allowed_style_list_grid_template_rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1171 |     text:
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1172 |       en: grid-template-rows
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1173 |       fa:
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1174 |         - ردیف‌های الگوی شبکه
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1175 |         - ردیف های الگوی شبکه
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1176 |     values: []
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1177 |     values: []
[error]        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] > 1178 |   - id: AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_JUSTIFY_CONTENT
[error]        | ^
[error]   1179 |     generate_name: justify-content
[error]   1180 |     type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING
[error]   1181 |     reserved_values: ast_layout_allowed_style_list_justify_content
config/layout/attribute/type.yaml 1ms (unchanged)
config/layout/type.yaml 161ms (unchanged)
config/type.yaml 1ms (unchanged)
CONTRIBUTING.md 41ms (unchanged)
README.md 13ms (unchanged)
salam-online.html 190ms


run vulture..............................................................Failed
- hook id: vulture
- exit code: 1

config/sync.py:16: f-string: unmatched '[' at "f"{item["id"]}, " +"

run black................................................................Failed
- hook id: black
- exit code: 123
- files were modified by this hook

reformatted config/layout/attribute/style/global_value.validate.py
reformatted config/language.validate.py
reformatted config/layout/attribute/type.validate.py
reformatted config/layout/type.validate.py
reformatted config/layout/attribute/style/value.validate.py
reformatted config/layout/attribute/style/state.validate.py
reformatted config/layout/attribute/style/type.validate.py
reformatted config/type.validate.py
error: cannot format config/sync.py: cannot use --safe with this file; failed to parse source file AST: f-string: unmatched '[' (<unknown>, line 16)
This could be caused by running Black with an older Python version that does not support new syntax used in your source file.

Oh no! 💥 💔 💥
8 files reformatted, 2 files left unchanged, 1 file failed to reformat.

run bandit...............................................................Failed
- hook id: bandit
- exit code: 2

[main]  ERROR   pyproject.toml : toml parser not available, reinstall with toml extra

run detect hardcoded secrets.............................................Passed
check for added large files..............................................Passed
check for case conflicts.................................................Passed
check illegal windows names..........................(no files to check)Skipped
check for merge conflicts................................................Passed
check that scripts with shebangs are executable..........................Passed
check toml...............................................................Passed
check vcs permalinks.....................................................Passed
check yaml...............................................................Failed
- hook id: check-yaml
- exit code: 1

while constructing a mapping
  in "config/layout/attribute/style/type.yaml", line 1167, column 5
found duplicate key "values" with value "[]" (original value: "[]")
  in "config/layout/attribute/style/type.yaml", line 1177, column 5

To suppress this check see:
    http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys

detect destroyed symlinks................................................Passed
detect aws credentials...................................................Passed
detect private key.......................................................Passed
fix end of files.........................................................Failed
- hook id: end-of-file-fixer
- exit code: 1
- files were modified by this hook

Fixing config/sync.py

fix utf-8 byte order marker..............................................Passed
forbid submodules....................................(no files to check)Skipped
mixed line ending........................................................Passed
trim trailing whitespace.................................................Failed
- hook id: trailing-whitespace
- exit code: 1
- files were modified by this hook

Fixing src/main.c
Fixing src/string_buffer.c
Fixing src/generator_layout.c
Fixing src/ast_layout.h
Fixing src/array_custom.h
Fixing src/ast.h
Fixing src/log.c
Fixing src/ast_layout_style.h
Fixing src/parser_layout.h
Fixing src/base.h
Fixing src/hashmap_custom.c
Fixing src/hashmap.c
Fixing src/generator_layout_style.h
Fixing src/ast_layout.c
Fixing src/generator_salam.c
Fixing src/ast_layout_style.c
Fixing src/parser_layout.c
Fixing src/memory.h
Fixing src/token.h
Fixing src/array.c
Fixing src/log.h
Fixing src/hashmap_custom.h
Fixing src/hashmap.h
Fixing config/sync.py
Fixing src/generator_salam.h
Fixing src/generator.h
Fixing src/validator.c
Fixing src/generator_layout_style.c
Fixing src/string_buffer.h
Fixing src/memory.c
Fixing src/parser.h
Fixing src/generator_identifier.h
Fixing src/file.c
Fixing src/downloader.c
Fixing src/generator_identifier.c
Fixing src/generator_layout.h
Fixing src/lexer.h
Fixing src/generator.c
Fixing src/array.h
Fixing src/validator.h
Fixing src/array_custom.c
Fixing src/ast.c
Fixing src/lexer.c
Fixing src/file.h
Fixing src/downloader.h
Fixing src/parser.c

run codespell............................................................Passed
run markdown link check..................................................Passed
run markdownlint.........................................................Passed
run oxipng...............................................................Passed
run yamllint.............................................................Failed
- hook id: yamllint
- exit code: 1

config/layout/attribute/style/type.yaml
  1177:5    error    duplication of key "values" in mapping  (key-duplicates)

run clang-format.........................................................Failed
- hook id: clang-format
- files were modified by this hook
@BaseMax BaseMax self-assigned this Nov 19, 2024
@BaseMax
Copy link
Member Author

BaseMax commented Nov 19, 2024

Mostly fixed, now output is:

max@DESKTOP-SSI3MPL:/mnt/c/Users/MAX/Salam$ pre-commit run --all-files
[WARNING] Unexpected key(s) present on https://github.com/adrienverge/yamllint => yamllint: env
run identity.............................................................Passed
- hook id: identity
- duration: 0.07s

example/card-header.salam
example/test2.salam
.github/linters/.hadolint.yaml
src/ast.h
config/layout/attribute/style/value.yaml
src/downloader.c
LICENSE
config/language.validate.py
src/string_buffer.c
src/generator_layout.c
src/ast_layout.h
example/test-input.salam
src/array_custom.h
src/main.h
config/layout/attribute/style/state.validate.py
src/main.c
src/log.h
src/config/ast_layout_attribute_style_state_type.h
src/log.c
src/array.h
example/test-button.salam
test/layout/body-hover/tokens.txt
example/testgroup.salam
src/token.h
.gitignore
src/memory.h
test/layout/body-hover/style.css
src/hashmap_custom.h
requirements.txt
assets/logo.png
example/layout.salam
example/test-custom-button.salam
example/test-select.salam
config/type.validate.py
config/layout/attribute/type.validate.py
test/layout/body-hover/layout.salam
.github/workflows/first_interaction.yml
.clang-format
assets/logo-box.png
config/layout/attribute/style/type.validate.py
CODE_OF_CONDUCT.md
.github/workflows/web-assembly.yml
src/parser_layout.h
example/repeat-block.salam
.github/ISSUE_TEMPLATE/bug_report.md
build-linux.sh
src/config/ast_block_type.h
.pre-commit-config.yaml
CONTRIBUTING.md
src/base.h
example/test4.salam
test/layout/body-hover/script.js
config/sync.py
src/hashmap.c
src/generator.h
src/generator_identifier.c
src/lexer.c
src/config/ast_layout_attribute_style_value.h
test/layout/custom-font/index.html
example/test7.salam
.prettierignore
.github/labeler.yml
.github/CODEOWNERS
example/test-box.salam
.codespellrc
example/bintext.py
src/config/ast_layout_type.h
src/generator_salam.c
VERSION
.github/linters/codespell.txt
src/ast_layout_style.c
src/parser.c
example/everything.salam
src/config/ast_layout_attribute_style_type.h
test/layout/body-hover/index.html
test/layout/custom-font/layout.salam
example/custom-font.salam
example/test.salam
example/testme.salam
.proselintrc.json
example/form.salam
build-webassembly.sh
src/config/ast_layout_attribute_type.h
src/parser_layout.c
.github/ISSUE_TEMPLATE/feature_request.md
.github/linters/.markdown-lint.yml
src/ast_layout.c
src/config/ast_layout_attribute_style_filter.h
config/language.yaml
src/hashmap.h
assets/logo.svg
config/layout/type.validate.py
src/generator_salam.h
src/ast.c
test/layout/custom-font/style.css
example/testhover.salam
example/test-first.salam
.prettierrc
.github/workflows/test.yml
config/layout/attribute/style/state.yaml
.editorconfig
assets/logo-box.svg
src/generator_layout_style.c
example/test-textarea.salam
example/hover.salam
src/string_buffer.h
config/layout/attribute/style/global_value.yaml
src/generator_layout.h
example/test5.salam
test/tests.py
.dockerignore
test/layout/custom-font/tokens.txt
example/test-lint.salam
src/parser.h
example/page-hover-opacity.salam
example/margin-auto.salam
build-windows.bat
src/config/ast_layout_attribute_style_global.h
example/input.salam
example/test-include.salam
Makefile
src/generator_layout_style.h
example/js.salam
.github/ISSUE_TEMPLATE/custom.md
config/layout/attribute/style/global_value.validate.py
src/file.h
src/config/ast_type.h
pyproject.toml
.github/workflows/build-release.yml
config/layout/type.yaml
.bashrc
config/block.yaml
src/generator.c
config/layout/attribute/style/type.yaml
src/generator_identifier.h
config/layout/attribute/type.yaml
.github/linters/.yaml-lint.yml
.gitattributes
example/inputme.salam
.github/linters/.htmlhintrc
src/lexer.h
.github/dependabot.yml
example/test3.salam
example/card.salam
src/file.c
salam-online.html
example/test-label.salam
src/validator.h
example/test6.salam
.github/pull_request_template.md
example/test-table.salam
src/array.c
example/form-action.salam
.github/workflows/proselint.yml
test/layout/custom-font/script.js
src/ast_layout_style.h
.github/workflows/pr-labeler.yml
.github/workflows/super-linter.yml
src/array_custom.c
README.md
src/hashmap_custom.c
config/type.yaml
src/downloader.h
example/test-link.salam
example/test-image-link.salam
config/layout/attribute/style/value.validate.py
src/validator.c
src/config/ast_value_kind.h
src/memory.c

check hooks apply to the repository......................................Passed
run prettier.............................................................Passed
run vulture..............................................................Failed
- hook id: vulture
- exit code: 1

config/sync.py:177: f-string: unmatched '(' at "f"\"{item.get("generate_name", "")}\"" +"

run black................................................................Failed
- hook id: black
- exit code: 123

error: cannot format config/sync.py: cannot use --safe with this file; failed to parse source file AST: f-string: unmatched '(' (<unknown>, line 177)
This could be caused by running Black with an older Python version that does not support new syntax used in your source file.

Oh no! 💥 💔 💥
10 files left unchanged, 1 file failed to reformat.

run bandit...............................................................Failed
- hook id: bandit
- exit code: 2

[main]  ERROR   pyproject.toml : toml parser not available, reinstall with toml extra

run detect hardcoded secrets.............................................Passed
check for added large files..............................................Passed
check for case conflicts.................................................Passed
check illegal windows names..........................(no files to check)Skipped
check for merge conflicts................................................Passed
check that scripts with shebangs are executable..........................Passed
check toml...............................................................Passed
check vcs permalinks.....................................................Passed
check yaml...............................................................Passed
detect destroyed symlinks................................................Passed
detect aws credentials...................................................Passed
detect private key.......................................................Passed
fix end of files.........................................................Passed
fix utf-8 byte order marker..............................................Passed
forbid submodules....................................(no files to check)Skipped
mixed line ending........................................................Passed
trim trailing whitespace.................................................Passed
run codespell............................................................Passed
run markdown link check..................................................Passed
run markdownlint.........................................................Passed
run oxipng...............................................................Passed
run yamllint.............................................................Passed
run clang-format.........................................................Passed
run isort (python).......................................................Passed
max@DESKTOP-SSI3MPL:/mnt/c/Users/MAX/Salam$

@BaseMax
Copy link
Member Author

BaseMax commented Nov 19, 2024

Now:

max@DESKTOP-SSI3MPL:/mnt/c/Users/MAX/Salam$ pre-commit run --all-files
[WARNING] Unexpected key(s) present on https://github.com/adrienverge/yamllint => yamllint: env
run identity.............................................................Passed
- hook id: identity
- duration: 0.11s

example/card-header.salam
example/test2.salam
.github/linters/.hadolint.yaml
src/ast.h
config/layout/attribute/style/value.yaml
src/downloader.c
LICENSE
config/language.validate.py
src/string_buffer.c
src/generator_layout.c
src/ast_layout.h
example/test-input.salam
src/array_custom.h
src/main.h
config/layout/attribute/style/state.validate.py
src/main.c
src/log.h
src/config/ast_layout_attribute_style_state_type.h
src/log.c
src/array.h
example/test-button.salam
test/layout/body-hover/tokens.txt
example/testgroup.salam
src/token.h
.gitignore
src/memory.h
test/layout/body-hover/style.css
src/hashmap_custom.h
requirements.txt
assets/logo.png
example/layout.salam
example/test-custom-button.salam
example/test-select.salam
config/type.validate.py
config/layout/attribute/type.validate.py
test/layout/body-hover/layout.salam
.github/workflows/first_interaction.yml
.clang-format
assets/logo-box.png
config/layout/attribute/style/type.validate.py
CODE_OF_CONDUCT.md
.github/workflows/web-assembly.yml
src/parser_layout.h
example/repeat-block.salam
.github/ISSUE_TEMPLATE/bug_report.md
build-linux.sh
src/config/ast_block_type.h
.pre-commit-config.yaml
CONTRIBUTING.md
src/base.h
example/test4.salam
test/layout/body-hover/script.js
config/sync.py
src/hashmap.c
src/generator.h
src/generator_identifier.c
src/lexer.c
src/config/ast_layout_attribute_style_value.h
test/layout/custom-font/index.html
example/test7.salam
.prettierignore
.github/labeler.yml
.github/CODEOWNERS
example/test-box.salam
.codespellrc
example/bintext.py
src/config/ast_layout_type.h
src/generator_salam.c
VERSION
.github/linters/codespell.txt
src/ast_layout_style.c
src/parser.c
example/everything.salam
src/config/ast_layout_attribute_style_type.h
test/layout/body-hover/index.html
test/layout/custom-font/layout.salam
example/custom-font.salam
example/test.salam
example/testme.salam
.proselintrc.json
example/form.salam
build-webassembly.sh
src/config/ast_layout_attribute_type.h
src/parser_layout.c
.github/ISSUE_TEMPLATE/feature_request.md
.github/linters/.markdown-lint.yml
src/ast_layout.c
src/config/ast_layout_attribute_style_filter.h
config/language.yaml
src/hashmap.h
assets/logo.svg
config/layout/type.validate.py
src/generator_salam.h
src/ast.c
test/layout/custom-font/style.css
example/testhover.salam
example/test-first.salam
.prettierrc
.github/workflows/test.yml
config/layout/attribute/style/state.yaml
.editorconfig
assets/logo-box.svg
src/generator_layout_style.c
example/test-textarea.salam
example/hover.salam
src/string_buffer.h
config/layout/attribute/style/global_value.yaml
src/generator_layout.h
example/test5.salam
test/tests.py
.dockerignore
test/layout/custom-font/tokens.txt
example/test-lint.salam
src/parser.h
example/page-hover-opacity.salam
example/margin-auto.salam
build-windows.bat
src/config/ast_layout_attribute_style_global.h
example/input.salam
example/test-include.salam
Makefile
src/generator_layout_style.h
example/js.salam
.github/ISSUE_TEMPLATE/custom.md
config/layout/attribute/style/global_value.validate.py
src/file.h
src/config/ast_type.h
pyproject.toml
.github/workflows/build-release.yml
config/layout/type.yaml
.bashrc
config/block.yaml
src/generator.c
config/layout/attribute/style/type.yaml
src/generator_identifier.h
config/layout/attribute/type.yaml
.github/linters/.yaml-lint.yml
.gitattributes
example/inputme.salam
.github/linters/.htmlhintrc
src/lexer.h
.github/dependabot.yml
example/test3.salam
example/card.salam
src/file.c
salam-online.html
example/test-label.salam
src/validator.h
example/test6.salam
.github/pull_request_template.md
example/test-table.salam
src/array.c
example/form-action.salam
.github/workflows/proselint.yml
test/layout/custom-font/script.js
src/ast_layout_style.h
.github/workflows/pr-labeler.yml
.github/workflows/super-linter.yml
src/array_custom.c
README.md
src/hashmap_custom.c
config/type.yaml
src/downloader.h
example/test-link.salam
example/test-image-link.salam
config/layout/attribute/style/value.validate.py
src/validator.c
src/config/ast_value_kind.h
src/memory.c

check hooks apply to the repository......................................Passed
run prettier.............................................................Passed
run vulture..............................................................Passed
run black................................................................Failed
- hook id: black
- files were modified by this hook

reformatted config/sync.py

All done! ✨ 🍰 ✨
1 file reformatted, 10 files left unchanged.

run bandit...............................................................Failed
- hook id: bandit
- exit code: 2

[main]  ERROR   pyproject.toml : toml parser not available, reinstall with toml extra

run detect hardcoded secrets.............................................Passed
check for added large files..............................................Passed
check for case conflicts.................................................Passed
check illegal windows names..........................(no files to check)Skipped
check for merge conflicts................................................Passed
check that scripts with shebangs are executable..........................Passed
check toml...............................................................Passed
check vcs permalinks.....................................................Passed
check yaml...............................................................Passed
detect destroyed symlinks................................................Passed
detect aws credentials...................................................Passed
detect private key.......................................................Passed
fix end of files.........................................................Passed
fix utf-8 byte order marker..............................................Passed
forbid submodules....................................(no files to check)Skipped
mixed line ending........................................................Passed
trim trailing whitespace.................................................Passed
run codespell............................................................Passed
run markdown link check..................................................Passed
run markdownlint.........................................................Passed
run oxipng...............................................................Passed
run yamllint.............................................................Passed
run clang-format.........................................................Passed
run isort (python).......................................................Passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant