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

Style guidelines #1

Open
texascloud opened this issue Jun 21, 2017 · 0 comments
Open

Style guidelines #1

texascloud opened this issue Jun 21, 2017 · 0 comments

Comments

@texascloud
Copy link

snake_case is the preferred method of naming both functions and multi-word variables. I'd also suggest keeping variable names for primitives to lowercase and reserving capitalized variable names for objects. For example in this block from the "StartApplication" function in Android.py:

Command = 'sudo adb -s ' + udid + " shell monkey -p " + str(app) + " -c android.intent.category.LAUNCHER 1"

Command is a String, but due to style it seems as though it should be an object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant