Skip to content

Commit

Permalink
add fareportal/avoid_print_example.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman authored and semgrep-bot committed May 22, 2024
1 parent eac3400 commit 612efb3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions fareportal/avoid_print_example.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
print("Welcome to Semgrep!" + "Use our Run button to start experimenting -->")


print("Example")

# To detect ALL calls to the print() function, change the Semgrep Rule from print("...") to print(...)
print("Example")
print(not_a_string)

print(first_var, second_var)
print("Example")
print()

# print("This is commented out so it will never be found")
print("Example")

0 comments on commit 612efb3

Please sign in to comment.