Skip to content

Code style test finds 2160 offenses #152

Closed
@jgfoster

Description

@jgfoster

System

  • OS: macOS Catalina (10.15.6)
  • ruby -v: ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
  • bundle -v: Bundler version 1.17.2
  • bundle info arduino_ci:
    arduino_ci (0.3.0)
    Summary: Tools for building and unit testing Arduino libraries
    Homepage: http://github.com/ianfixes/arduino_ci
    Path: /Users/jfoster/code/arduino_ci
  • g++ -v:
    Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
    Apple clang version 11.0.3 (clang-1103.0.32.62)
    Target: x86_64-apple-darwin19.6.0
    Thread model: posix
    InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  • Arduino IDE version: 1.8.13
  • java -version:
    java version "11.0.7" 2020-04-14 LTS
    Java(TM) SE Runtime Environment 18.9 (build 11.0.7+8-LTS)
    Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.7+8-LTS, mixed mode)
  • URL of failing Travis CI job: N/A
  • URL of your Arduino project: https://github.com/Open-Acidification/Open_Acidification_pH-stat_arduino

Numerous style test problems.

The Contributing guidelines say to run bundle exec rubocop -D . but when I do so after making a trivial change to one documentation file I get 2160 offenses. Does the CI job actually test this? Should they be fixed or should the contributing instructions be modified? Or is it something I'm doing wrong or misunderstand?

Arduino or Unit Test Code, Illustrating the Problem

bundle exec rubocop -D .

Metadata

Metadata

Assignees

No one assigned

    Labels

    YAMLThe configuration files or systembugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions