Hacker0x01 / hai-on-hackerone

3 stars 1 forks source link

[BUG] Add consistency in variable naming #7

Open iMartzen opened 2 months ago

iMartzen commented 2 months ago

Describe the bug

This codebase mixes python's standard snake_case style with camelCase and lowercase styles. It's not uncommon to preserve the casing of variables from an external API:

productArea = pO['productArea']

but for variables like pageNum that are only being used in python, it's best to stick to camel_case like page_num. This will make reading and searching the code easier for python engineers.

🔹 Style Consistency (Nice to have)

See MR comment: https://github.com/Hacker0x01/hai-on-hackerone/pull/1/files#r1638472023

To Reproduce

N/A

Expected behavior

N/A