andrewpage/bt-tools

View on GitHub

Showing 6 of 6 total issues

Avoid parameter lists longer than 5 parameters. [6/5]
Open

      def initialize(manifest:, announce:, source:, output:, piece_size:, privacy:)
Severity: Minor
Found in lib/tools/actions/create.rb by rubocop

This cop checks for methods with too many parameters. The maximum number of parameters is configurable. Keyword arguments can optionally be excluded from the total count.

File.exists? is deprecated in favor of File.exist?.
Open

        FileUtils.mkdir_p(output) unless File.exists?(output)
Severity: Minor
Found in lib/tools/actions/create.rb by rubocop

This cop checks for uses of the deprecated class method usages.

Example:

# bad

File.exists?(some_path)

Example:

# good

File.exist?(some_path)

HACK found
Open

                 (TODO, FIXME, OPTIMIZE, HACK, REVIEW).
Severity: Minor
Found in .rubocop.yml by fixme

FIXME found
Open

                 (TODO, FIXME, OPTIMIZE, HACK, REVIEW).
Severity: Minor
Found in .rubocop.yml by fixme

TODO found
Open

TODO: Write usage instructions here
Severity: Minor
Found in README.md by fixme

TODO found
Open

                 (TODO, FIXME, OPTIMIZE, HACK, REVIEW).
Severity: Minor
Found in .rubocop.yml by fixme
Severity
Category
Status
Source
Language