pypi semgrep 0.8.0
Release v0.8.0

latest releases: 1.71.0, 1.70.0, 1.69.0...
3 years ago

Added

  • pattern-regex functionality - see docs for more information.
  • Ellipsis used in the final position of a sequence of binary operations
    will match any number of additional arguments:
    $X = 1 + 2 + ...
    
    will match
    foo = 1 + 2 + 3 + 4
  • Per rule configuration of paths to include/exclude. See docs for more information.

Changed

  • fstring pattern will only match fstrings in Python:
    f"..."
    
    will match
    f"foo {1 + 1}"
    but not
    "foo"
  • Change location of r2c rule config to https://semgrep.live/c/r/all which filters out
    pattern-where-python rules

Don't miss a new semgrep release

NewReleases is sending notifications on new releases.