Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test run: 1675366579 #35204

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
7 changes: 7 additions & 0 deletions test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

import random
print(testing-1675366579)
if testing-1675366579 == testing-1675366579:

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: testing-1675366579 == testing-1675366579 or testing-1675366579 != testing-1675366579. If testing for floating point NaN, use math.isnan(testing-1675366579), or cmath.isnan(testing-1675366579) if the number is complex.

Created by useless-eqeq.

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: testing-1675366579 == testing-1675366579 or testing-1675366579 != testing-1675366579. If testing for floating point NaN, use math.isnan(testing-1675366579), or cmath.isnan(testing-1675366579) if the number is complex.

Created by useless-eqeq.

print("got here")
client("s3", aws_secret_access_key="fakefakefake1675366579fakefake")
Copy link

Choose a reason for hiding this comment

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

A hard-coded credential was detected. It is not recommended to store credentials in source-code, as this risks secrets being leaked and used by either an internal or external malicious adversary. It is recommended to use environment variables to securely provide credentials or retrieve credentials from a secure vault or HSM (Hardware Security Module).

Created by hardcoded-token.