SpeciesFileGroup/taxonworks

View on GitHub
lib/queries/otu/autocomplete.rb

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

        # TODO: move to mode
Severity: Minor
Found in lib/queries/otu/autocomplete.rb by fixme

TODO found
Open

        ids = taxon_names.map(&:id) # TODO: Experiment with :cached_valid_taxon_name_id) # We assume we want to land on Valid OTUs, but see #
Severity: Minor
Found in lib/queries/otu/autocomplete.rb by fixme

unexpected token tRPAREN (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

        q = q.where(project_id:) if project_id.any?
Severity: Minor
Found in lib/queries/otu/autocomplete.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tRCURLY (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

        @having_taxon_name_only = boolean_param({having_taxon_name_only:}, :having_taxon_name_only)
Severity: Minor
Found in lib/queries/otu/autocomplete.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tCOMMA (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

        taxon_names = Queries::TaxonName::Autocomplete.new(query_string, exact:, project_id:).autocomplete # an array, not a query
Severity: Minor
Found in lib/queries/otu/autocomplete.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tRCURLY (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

        @with_taxon_name = boolean_param({with_taxon_name:}, :with_taxon_name)
Severity: Minor
Found in lib/queries/otu/autocomplete.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token $end (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

Severity: Minor
Found in lib/queries/otu/autocomplete.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tRPAREN (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

        super(string, project_id:)
Severity: Minor
Found in lib/queries/otu/autocomplete.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tRCURLY (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

        @exact = boolean_param({exact:}, :exact)
Severity: Minor
Found in lib/queries/otu/autocomplete.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

There are no issues that match your filters.

Category
Status