Skip to content

Fix potential usage of None and Unbound variables issues #248

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

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

Avasam
Copy link
Contributor

@Avasam Avasam commented Nov 17, 2022

  • 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.

- 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 coersion
@codecov-commenter
Copy link

codecov-commenter commented Nov 19, 2022

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     

@Avasam
Copy link
Contributor Author

Avasam commented Jul 8, 2023

Could I get a review on this?

@Avasam
Copy link
Contributor Author

Avasam commented Aug 18, 2024

@python-xlib yearly bump

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

Successfully merging this pull request may close these issues.

2 participants