SpeciesFileGroup/taxonworks

View on GitHub
lib/tasks/tw.rake

Summary

Maintainability
Test Coverage

TODO found
Open

  # TODO: Use Current
Severity: Minor
Found in lib/tasks/tw.rake by fixme

TODO found
Open

  # TODO: update "database_user" to something more specific and reflective of what we see in Kubernetes by default?
Severity: Minor
Found in lib/tasks/tw.rake by fixme

TODO found
Open

    # TODO: Use Dir.exist? and fix tasks that are treating data_directory as a file parameter
Severity: Minor
Found in lib/tasks/tw.rake by fixme

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

      .execute("SELECT EXISTS(SELECT * FROM information_schema.tables " \
Severity: Minor
Found in lib/tasks/tw.rake by rubocop

Checks if uses of quotes match the configured preference.

Example: EnforcedStyle: single_quotes (default)

# bad
"No special symbols"
"No string interpolation"
"Just text"

# good
'No special symbols'
'No string interpolation'
'Just text'
"Wait! What's #{this}!"

Example: EnforcedStyle: double_quotes

# bad
'Just some text'
'No special chars or interpolation'

# good
"Just some text"
"No special chars or interpolation"
"Every string in #{project} uses double_quotes"

There are no issues that match your filters.

Category
Status