Skip to content

Interpolation prohibited outside @safe #183

Interpolation prohibited outside @safe

Interpolation prohibited outside @safe #183

Triggered via pull request September 24, 2024 10:17
Status Success
Total duration 2m 0s
Billable time 2m
Artifacts

run_lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
run_lint: src/linting/extended_checks.jl#L58
Use $(x) instead of $x ([explanation](https://github.com/RelationalAI/RAIStyle?tab=readme-ov-file#string-interpolation)). raicode/src/linting/extended_checks.jl
run_lint: src/linting/extended_checks.jl#L272
Use `tin(item,collection)` instead of the Julia's `in` or `∈`. raicode/src/linting/extended_checks.jl
run_lint: src/linting/extended_checks.jl#L311
Log messages must always be constructed via @safe("..") strings. If this interpolation is used in a log message, it should be a @safe-string. Please try this instead: @safe("...$(x)..."). If this is not being used for logging, you can lint-ignore this line.
run_lint: src/linting/extended_checks.jl#L315
Use `tin(item,collection)` instead of the Julia's `in` or `∈`. raicode/src/linting/extended_checks.jl
run_lint: src/linting/extended_checks.jl#L347
Use `thaskey(dict,key)` instead of the Julia's `haskey`. raicode/src/linting/extended_checks.jl
run_lint: src/linting/extended_checks.jl#L401
Use `thaskey(dict,key)` instead of the Julia's `haskey`. raicode/src/linting/extended_checks.jl
run_lint: src/linting/extended_checks.jl#L404
Use `thaskey(dict,key)` instead of the Julia's `haskey`. raicode/src/linting/extended_checks.jl
run_lint: src/linting/extended_checks.jl#L405
Use `thaskey(dict,key)` instead of the Julia's `haskey`. raicode/src/linting/extended_checks.jl
run_lint: src/linting/extended_checks.jl#L445
Use `thaskey(dict,key)` instead of the Julia's `haskey`. raicode/src/linting/extended_checks.jl
run_lint: src/linting/extended_checks.jl#L542
Use `thaskey(dict,key)` instead of the Julia's `haskey`. raicode/src/linting/extended_checks.jl
run_lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, julia-actions/setup-julia@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run_lint
The current working directory is not inside a git repository: /home/runner/work/StaticLint.jl/StaticLint.jl