Showing 1,586 of 1,600 total issues
Can't follow non-constant source. Use a directive to specify location. Open
Open
[[ -s "$MIGA_MOD" ]] && . "$MIGA_MOD"
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Can't follow non-constant source. Use a directive to specify location.
Problematic code:
. "$(find_install_dir)/lib.sh"
Correct code:
# shellcheck source=src/lib.sh
. "$(find_install_dir)/lib.sh"
Rationale:
ShellCheck is not able to include sourced files from paths that are determined at runtime. The file will not be read, potentially resulting in warnings about unassigned variables and similar.
Use a [[Directive]] to point shellcheck to a fixed location it can read instead.
Exceptions:
If you don't care that ShellCheck is unable to account for the file, specify # shellcheck source=/dev/null
.
Notice
Original content from the ShellCheck https://github.com/koalaman/shellcheck/wiki.
TODO found Open
Open
# TODO: Find 95%ANI clusters with entries from different species
- Create a ticketCreate a ticket
- Exclude checks
TODO found Open
Open
# TODO: Find AAI values too high or too low for each LCA rank
- Create a ticketCreate a ticket
- Exclude checks
TODO found Open
Open
# TODO: Find different 95%ANI clusters with genomes from the same species
- Create a ticketCreate a ticket
- Exclude checks