faif / python-patterns

A collection of design patterns/idioms in Python
40.21k stars 6.93k forks source link

pyupgrade --py36-plus **/*.py #365

Closed cclauss closed 3 years ago

cclauss commented 3 years ago

https://github.com/asottile/pyupgrade plus blacken two test files and add mypy in allow_failures mode.

codecov-io commented 3 years ago

Codecov Report

Merging #365 (c6d82e1) into master (b5468d9) will increase coverage by 0.04%. The diff coverage is 21.05%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #365      +/-   ##
==========================================
+ Coverage   30.38%   30.43%   +0.04%     
==========================================
  Files          39       39              
  Lines        1277     1275       -2     
==========================================
  Hits          388      388              
+ Misses        889      887       -2     
Impacted Files Coverage Δ
patterns/behavioral/iterator.py 0.00% <0.00%> (ø)
patterns/behavioral/memento.py 0.00% <0.00%> (ø)
patterns/behavioral/publish_subscribe.py 91.17% <0.00%> (ø)
patterns/behavioral/template.py 0.00% <0.00%> (ø)
patterns/dependency_injection.py 0.00% <0.00%> (ø)
patterns/structural/bridge.py 80.00% <0.00%> (ø)
patterns/structural/facade.py 0.00% <0.00%> (ø)
patterns/structural/flyweight.py 0.00% <0.00%> (ø)
patterns/structural/mvc.py 0.00% <0.00%> (ø)
patterns/creational/abstract_factory.py 72.00% <100.00%> (ø)
... and 1 more

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 b5468d9...c6d82e1. Read the comment docs.