Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-71130

lint-sconslinters gives bad advice about how to fix lint issues

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Server Development Platform
    • ALL

      When SCons linting fails, the linter gives bad advice about how to fix the issue; it says: 

      To fix formatting errors, run pylinters.py fix <path to file>

      But this won't work, as I learned through trial-and-error. In fact, you need to run 

      pylinters.py fix-scons <optional path to file>

      to fix the issue (similarly, you need to do lint-scons rather than just lint to see lint failures for SConscripts). 

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: