Skip to content
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

Use dataclasses to clean up a little #679

Merged
merged 1 commit into from
Jan 2, 2023
Merged

Use dataclasses to clean up a little #679

merged 1 commit into from
Jan 2, 2023

Conversation

frenck
Copy link
Owner

@frenck frenck commented Jan 2, 2023

Proposed Changes

Tiny cleanup, using some dataclass decorator to remove the need of constructors

@frenck frenck added the refactor Improvement of existing code, not introducing new features. label Jan 2, 2023
@codecov
Copy link

codecov bot commented Jan 2, 2023

Codecov Report

Merging #679 (d23e5fe) into main (0fb110e) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #679   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines          287       293    +6     
  Branches        18        24    +6     
=========================================
+ Hits           287       293    +6     
Impacted Files Coverage Δ
src/adguardhome/filtering.py 100.00% <100.00%> (ø)
src/adguardhome/parental.py 100.00% <100.00%> (ø)
src/adguardhome/querylog.py 100.00% <100.00%> (ø)
src/adguardhome/safebrowsing.py 100.00% <100.00%> (ø)
src/adguardhome/safesearch.py 100.00% <100.00%> (ø)
src/adguardhome/stats.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@frenck frenck merged commit 271a3d4 into main Jan 2, 2023
@frenck frenck deleted the frenck-2023-0016 branch January 2, 2023 22:37
@github-actions github-actions bot locked and limited conversation to collaborators Jan 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
refactor Improvement of existing code, not introducing new features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant