Skip to content

Reduce complexity of DNSRecord#915

Merged
bdraco merged 1 commit into
python-zeroconf:masterfrom
bdraco:dnsrecord_complexity
Jul 18, 2021
Merged

Reduce complexity of DNSRecord#915
bdraco merged 1 commit into
python-zeroconf:masterfrom
bdraco:dnsrecord_complexity

Conversation

@bdraco
Copy link
Copy Markdown
Member

@bdraco bdraco commented Jul 18, 2021

  • Use constants for calculations in is_expired/is_stale/is_recent

- Use constants for calculations in is_expired/is_stale/is_recent
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jul 18, 2021

Codecov Report

Merging #915 (5f07ef5) into master (aa71084) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #915   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           22        22           
  Lines         2327      2313   -14     
  Branches       387       383    -4     
=========================================
- Hits          2327      2313   -14     
Impacted Files Coverage Δ
zeroconf/const.py 100.00% <ø> (ø)
zeroconf/_dns.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 aa71084...5f07ef5. Read the comment docs.

@bdraco bdraco merged commit b6eaf72 into python-zeroconf:master Jul 18, 2021
@bdraco bdraco deleted the dnsrecord_complexity branch July 18, 2021 08:50
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