Skip to content

Commit

Permalink
Merge pull request #3435 from semgrep/merge-develop-to-release
Browse files Browse the repository at this point in the history
Merge Develop into Release
  • Loading branch information
philipturnbull authored Jul 18, 2024
2 parents 6221058 + cd6cd52 commit 1366b5b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/lang/correctness/baseclass-attribute-override.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,19 @@ rules:
- pattern-inside: |
class $A(...):
...
def $F(...):
def $F1(...):
...
...
...
- pattern-inside: |
class $B(...):
...
def $F(...):
def $F2(...):
...
...
...
- metavariable-comparison:
comparison: str($F1) == str($F2)
- pattern: |
class $C(..., $A, ..., $B, ...):
...
Expand Down

0 comments on commit 1366b5b

Please sign in to comment.