Skip to content

Commit

Permalink
Fix pylint R1710 and R1711 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
martinholmer committed Jan 3, 2025
1 parent 2962382 commit aabb7e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions taxcalc/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
import copy
from collections import defaultdict
from typing import Union, Mapping, Any, List

import numpy as np
import marshmallow as ma
import paramtools as pt
import numpy as np

from taxcalc.growfactors import GrowFactors


Expand Down Expand Up @@ -515,7 +513,8 @@ def inflation_rates(self, year=None):
return self._inflation_rates[year - syr]
return self._inflation_rates or []

# alias methods below
# alias methods below:

def initialize(self, start_year, num_years, last_known_year=None,
removed=None, redefined=None, wage_indexed=None,
**kwargs):
Expand All @@ -530,6 +529,7 @@ def initialize(self, start_year, num_years, last_known_year=None,
removed=removed, redefined=redefined,
wage_indexed=wage_indexed, **kwargs
)
return None

Check warning on line 532 in taxcalc/parameters.py

View check run for this annotation

Codecov / codecov/patch

taxcalc/parameters.py#L532

Added line #L532 was not covered by tests

def _update(self, revision, print_warnings, raise_errors):
"""
Expand Down
1 change: 0 additions & 1 deletion taxcalc/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,6 @@ def pch_graph_plot(data,
fig.yaxis.axis_label_text_font_style = 'normal'
fig.yaxis[0].formatter = PrintfTickFormatter(format='%.1f')
# return fig # bokeh 3.4.1 cannot save this figure for some unknown reason
return None


def write_graph_file(figure, filename, title):
Expand Down

0 comments on commit aabb7e3

Please sign in to comment.