python-xlib icon indicating copy to clipboard operation
python-xlib copied to clipboard

Fix potential usage of None and Unbound variables issues

Open Avasam opened this issue 4 years ago • 3 comments

  • Misnamed src_cmap
  • Uninitialized attributes and missing methods due to usage of similar classes that don't inherit the same bases
  • Better defaults than None for variables and attributes when possible and None has 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.

Avasam avatar Nov 17 '22 00:11 Avasam

Codecov Report

Merging #248 (1fa7079) into master (4e8bbf8) will decrease coverage by 0.05%. The diff coverage is 66.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     

codecov-commenter avatar Nov 19 '22 03:11 codecov-commenter

Could I get a review on this?

Avasam avatar Jul 08 '23 20:07 Avasam

@python-xlib yearly bump

Avasam avatar Aug 18 '24 20:08 Avasam