Uploaded image for project: 'SonarPython'
  1. SonarPython
  2. SONARPY-541

Assignment expressions: update rules targeting assignments (Python 3.8)

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8
    • Component/s: None
    • Labels:
      None

      Description

      The following rules explicitly targeting assignment statements should be checked so that they behave consistently with assignment expressions:

      • RSPEC-4143: Map values should not be replaced unconditionally
      • RSPEC-1656: Variables should not be self-assigned
      • RSPEC-4790: Hashing data is security-sensitive
      • RSPEC-4507: Delivering code in production with debug features activated is security-sensitive
      • RSPEC-4792: Configuring loggers is security-sensitive

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              guillaume.dequenne Guillaume Dequenne
              Reporter:
              guillaume.dequenne Guillaume Dequenne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: