Skip to content

chore(shard.lock): bump deps #293

chore(shard.lock): bump deps

chore(shard.lock): bump deps #293

GitHub Actions / Ameba failed Jul 15, 2024 in 1s

Crystal Ameba Results

Total files checked: 50
Issues found: 17

Ameba Version: 1.4.3
Crystal Version: 1.7.0

Annotations

Check warning on line 89 in src/placeos-build/api/repositories.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/MissingBlockArgument

Missing anonymous block argument. Use `&` as an argument name to indicate yielding method.
Raw output
> protected def query_store
                ^

Check notice on line 90 in src/placeos-build/api/repositories.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Style/ParenthesesAroundCondition

Redundant parentheses
Raw output
> if (result = yield repository_store)
     ^

Check notice on line 33 in src/placeos-build/cli.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Style/QueryBoolMethods

Consider using 'getter?' for 'version'
Raw output
> getter version : Bool = false
         ^

Check notice on line 37 in src/placeos-build/cli.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Style/QueryBoolMethods

Consider using 'getter?' for 'environment'
Raw output
> getter environment : Bool = false
         ^

Check notice on line 181 in src/placeos-build/driver_store/s3.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Style/PredicateName

Favour method name 'elf?' over 'is_elf?'
Raw output
> private def is_elf?(io) : Bool
          ^

Check notice on line 106 in src/placeos-build/digest/cli.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Style/QueryBoolMethods

Consider using 'getter?' for 'verbose'
Raw output
> getter verbose : Bool = false
         ^

Check notice on line 18 in src/placeos-build/cli/server.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Style/QueryBoolMethods

Consider using 'getter?' for 'routes'
Raw output
> getter routes : Bool = false
         ^

Check warning on line 335 in src/placeos-build/drivers.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/MissingBlockArgument

Missing anonymous block argument. Use `&` as an argument name to indicate yielding method.
Raw output
> private def wait_for_compilation(executable : Model::Executable)
              ^

Check warning on line 124 in src/placeos-build/digest/dependency_graph.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/NotNil

Avoid using `not_nil!`
Raw output
> path = resolve_path(require_statement.as(Regex::MatchData)["file"].not_nil!, file_dir)
                                                                     ^

Check notice on line 94 in src/placeos-build/digest/dependency_graph.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Style/ParenthesesAroundCondition

Redundant parentheses
Raw output
> if (requires.empty?)
     ^

Check warning on line 35 in src/placeos-build/client.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/MissingBlockArgument

Missing anonymous block argument. Use `&` as an argument name to indicate yielding method.
Raw output
> def self.client
           ^

Check warning on line 45 in src/placeos-build/client.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/MissingBlockArgument

Missing anonymous block argument. Use `&` as an argument name to indicate yielding method.
Raw output
> def self.client(uri : URI, build_version : String = BUILD_VERSION)
           ^

Check notice on line 60 in src/placeos-build/cli/build.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Style/ParenthesesAroundCondition

Redundant parentheses
Raw output
> if (path = repository_path)
     ^

Check notice on line 96 in src/placeos-build/cli/build.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Style/ParenthesesAroundCondition

Redundant parentheses
Raw output
> found = if (path = repository_path)
             ^

Check notice on line 109 in src/placeos-build/cli/build.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Style/PredicateName

Favour method name 'driver?' over 'is_driver?'
Raw output
> protected def self.is_driver?(path : Path)
            ^

Check notice on line 26 in src/placeos-build/cli/build.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Style/QueryBoolMethods

Consider using 'getter?' for 'strict_driver_info'
Raw output
> getter strict_driver_info : Bool = true
         ^

Check notice on line 29 in src/placeos-build/cli/build.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Style/QueryBoolMethods

Consider using 'getter?' for 'discover'
Raw output
> getter discover : Bool = false
         ^