theastropath / turbot

A Discord bot for tracking Animal Crossing: New Horizons turnip prices and fossil collections
MIT License
8 stars 1 forks source link

Reduce calls to getattr #183

Closed lexicalunit closed 4 years ago

lexicalunit commented 4 years ago

Description

Reduces the number of calls to getattr() just because they're kinda ugly.

Checklist

codecov-commenter commented 4 years ago

Codecov Report

Merging #183 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #183   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines          280       282    +2     
  Branches        13        13           
=========================================
+ Hits           280       282    +2     
Impacted Files Coverage Δ
src/turbot/data.py 100.00% <100.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 8e11671...9f7e744. Read the comment docs.