Skip to content

Commit

Permalink
Merge pull request #4202 from ebmdatalab/dependabot/pip/flake8-6.1.0
Browse files Browse the repository at this point in the history
chore(deps): bump flake8 from 6.0.0 to 6.1.0
  • Loading branch information
evansd authored Sep 11, 2023
2 parents cae4f38 + 6afcca1 commit 045fbb3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -519,8 +519,8 @@ def __init__(
numerator_column: str = "chemical",
denominator_column: str = "subpara",
) -> None:
assert (
type(to_date) == date and type(from_date) == date
assert isinstance(to_date, date) and isinstance(
from_date, date
), "date args must be dates"
assert to_date > from_date, "to date must be after from date"
self.from_date = from_date
Expand Down Expand Up @@ -705,7 +705,7 @@ def _get_entity_measure_arrays(self, entity: str) -> None:
print(f"Error getting BQ data for {entity}")
traceback.print_stack()
try:
if type(res.iloc[0]["array"]) != np.ndarray:
if not isinstance(res.iloc[0]["array"], np.ndarray):
res["array"] = res["array"].apply(
lambda x: np.fromstring(x[1:-1], sep=",")
)
Expand Down
6 changes: 3 additions & 3 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ black==23.7.0
# via -r requirements.dev.in
click==8.1.7
# via black
flake8==6.0.0
flake8==6.1.0
# via -r requirements.dev.in
isort==5.12.0
# via -r requirements.dev.in
Expand All @@ -22,7 +22,7 @@ pathspec==0.11.2
# via black
platformdirs==3.10.0
# via black
pycodestyle==2.10.0
pycodestyle==2.11.0
# via flake8
pyflakes==3.0.1
pyflakes==3.1.0
# via flake8
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ exceptiongroup==1.1.3
# via trio-websocket
fabric3==1.14.post1
# via -r requirements.in
flake8==6.0.0
flake8==6.1.0
# via -r requirements.in
fonttools==4.42.1
# via matplotlib
Expand Down Expand Up @@ -275,13 +275,13 @@ pyasn1==0.5.0
# rsa
pyasn1-modules==0.3.0
# via google-auth
pycodestyle==2.10.0
pycodestyle==2.11.0
# via flake8
pycparser==2.21
# via cffi
pydata-google-auth==1.8.2
# via pandas-gbq
pyflakes==3.0.1
pyflakes==3.1.0
# via flake8
pynacl==1.5.0
# via paramiko
Expand Down

0 comments on commit 045fbb3

Please sign in to comment.