-
Notifications
You must be signed in to change notification settings - Fork 13
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
Refactoring and cleanup #3
base: master
Are you sure you want to change the base?
Refactoring and cleanup #3
Commits on Feb 24, 2017
-
Put every import on its own line, ordered alphabetically
Fixes PEP 8 error E401 ("multiple imports on one line").
Configuration menu - View commit details
-
Copy full SHA for 543d8c6 - Browse repository at this point
Copy the full SHA 543d8c6View commit details -
Use
not in
for non-membership testFixes PEP 8 error E713 ("test for membership should be 'not in'").
Configuration menu - View commit details
-
Copy full SHA for 2b0a913 - Browse repository at this point
Copy the full SHA 2b0a913View commit details -
Configuration menu - View commit details
-
Copy full SHA for 716f46a - Browse repository at this point
Copy the full SHA 716f46aView commit details -
Put each statement on its own line, adjust whitespace, add blank lines
Fixes PEP 8 errors E201, E202, E211 (all about whitespace), and E701 ("multiple statements on one line (colon)").
Configuration menu - View commit details
-
Copy full SHA for 2a569e7 - Browse repository at this point
Copy the full SHA 2a569e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a94bec - Browse repository at this point
Copy the full SHA 5a94becView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8773a3 - Browse repository at this point
Copy the full SHA f8773a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45bce10 - Browse repository at this point
Copy the full SHA 45bce10View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2e65a0 - Browse repository at this point
Copy the full SHA a2e65a0View commit details -
Extract functions related to command line argument parsing
Put every keyword argument to the parser on a separate line to ease visual scanning.
Configuration menu - View commit details
-
Copy full SHA for eb9d89b - Browse repository at this point
Copy the full SHA eb9d89bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 592c125 - Browse repository at this point
Copy the full SHA 592c125View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfb5952 - Browse repository at this point
Copy the full SHA cfb5952View commit details -
Check non-emptiness of suffixes collection regardless of its type
This allows the suffixes to be specified as a set instead of a list, which would be a better semantic fit in this case.
Configuration menu - View commit details
-
Copy full SHA for fc44130 - Browse repository at this point
Copy the full SHA fc44130View commit details -
Configuration menu - View commit details
-
Copy full SHA for b508864 - Browse repository at this point
Copy the full SHA b508864View commit details -
Configuration menu - View commit details
-
Copy full SHA for abf680f - Browse repository at this point
Copy the full SHA abf680fView commit details -
Yield found (file, permissions) pairs instead of creating lists
This could save a bit of memory, too. Count files manually as the return value of the function has become a generator.
Configuration menu - View commit details
-
Copy full SHA for d84a2b4 - Browse repository at this point
Copy the full SHA d84a2b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdfdeae - Browse repository at this point
Copy the full SHA bdfdeaeView commit details