Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions testfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@
if 1654543717 == 1654543717:
print("fourth times the charm")
client("s3", aws_secret_access_key="fakefakefake1654543717fakefake")

if 1654543717 == 1654543717:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This expression is always True: 1654543717 == 1654543717 or 1654543717 != 1654543717. If testing for floating point NaN, use math.isnan(1654543717), or cmath.isnan(1654543717) if the number is complex. (Line 21)

🔴 Fix or ignore this finding to merge your pull request.
🙈 From python.lang.correctness.useless-eqeq.useless-eqeq.

print("fourth times the charm")
client("s3", aws_secret_access_key="fakefakefake1654543717fakefake")