pyapp-kit / superqt

Missing widgets and components for Qt-python
https://pyapp-kit.github.io/superqt/
BSD 3-Clause "New" or "Revised" License
210 stars 38 forks source link

Use functools.wraps insterad of __wraped__ and manual proxing __name__ #29

Closed Czaki closed 3 years ago

Czaki commented 3 years ago

Using functools.wraps help to not lost __module__, __name__, __qualname__, __annotations__ and __doc__.

https://docs.python.org/3/library/functools.html#functools.wraps

codecov-commenter commented 3 years ago

Codecov Report

Merging #29 (15aeccd) into main (c5658b3) will not change coverage. The diff coverage is 0.00%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main     #29   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files         15      15           
  Lines       1373    1370    -3     
=====================================
+ Misses      1373    1370    -3     
Impacted Files Coverage Δ
superqt/utils/_ensure_thread.py 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c5658b3...15aeccd. Read the comment docs.