-
Notifications
You must be signed in to change notification settings - Fork 104
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Checking mergeability…
Don’t worry, you can still create the pull request.
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: PiSupply/PiJuice
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: PiSupply/PiJuice
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cleanup
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 10 commits
- 7 files changed
- 1 contributor
Commits on Dec 12, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 41e20f4 - Browse repository at this point
Copy the full SHA 41e20f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bc46a7 - Browse repository at this point
Copy the full SHA 6bc46a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77825a9 - Browse repository at this point
Copy the full SHA 77825a9View commit details -
Remove unnecessary assignments.
Initializing variable X with None, then changing the value inside try-except block, when there is a return statement (and no usage of X value) inside the 'except' clause, means that the 'X = None' assignment does no effect and can be safely removed.
Configuration menu - View commit details
-
Copy full SHA for ecadd06 - Browse repository at this point
Copy the full SHA ecadd06View commit details -
Fix the usage of bool, None and index() function.
Comparison to None should be performed with 'is' operator instead of '=='. Empty dictionaries are evaluated as False in case of comparison to boolean values. Checking for a boolean (or duck-typed as boolean) key in dictionary can be performed by a single .get() call. In case there is no such element in the sequence, .index() method raises a ValueError exception instead of returning None, so comparing the result to None is always False.
Configuration menu - View commit details
-
Copy full SHA for d16191f - Browse repository at this point
Copy the full SHA d16191fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8477eba - Browse repository at this point
Copy the full SHA 8477ebaView commit details -
time.sleep() shouldn't cause an exception.
Multiplying by 1 doesn't seem to be necessary, whether it's int or float.
Configuration menu - View commit details
-
Copy full SHA for 13e78db - Browse repository at this point
Copy the full SHA 13e78dbView commit details -
Shadowing built-in names should be avoided.
id, function, min, max, next and type are built-in names in Python. Shadowing them can cause unstable and unexpected behavior.
Configuration menu - View commit details
-
Copy full SHA for b1ac3fe - Browse repository at this point
Copy the full SHA b1ac3feView commit details -
Fix PEP8 warnings about spaces, indentations and line length.
It's a large commit, but i don't think that it should be divided to separate commits.
Configuration menu - View commit details
-
Copy full SHA for dbafe2d - Browse repository at this point
Copy the full SHA dbafe2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 472b8d6 - Browse repository at this point
Copy the full SHA 472b8d6View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...cleanup