python-xlib
python-xlib copied to clipboard
Fix potential usage of None and Unbound variables issues
- Misnamed
src_cmap - Uninitialized attributes and missing methods due to usage of similar classes that don't inherit the same bases
- Better defaults than
Nonefor variables and attributes when possible andNonehas no special meaning. - Potentially unbound variables
- Additional Non checks or type coercion
It is quite possible that I have made a mistake or misunderstood how something works, please validate carefully.
Codecov Report
Merging #248 (1fa7079) into master (4e8bbf8) will decrease coverage by
0.05%. The diff coverage is66.66%.
Additional details and impacted files
@@ Coverage Diff @@
## master #248 +/- ##
==========================================
- Coverage 78.21% 78.16% -0.06%
==========================================
Files 42 42
Lines 4705 4735 +30
==========================================
+ Hits 3680 3701 +21
- Misses 1025 1034 +9
Could I get a review on this?
@python-xlib yearly bump