Skip to content

Commit

Permalink
Merge pull request #198 from elfosardo/update-hacking
Browse files Browse the repository at this point in the history
Bump hacking and flake8-import-order versions
  • Loading branch information
elfosardo authored Feb 12, 2024
2 parents 2c22747 + de5a689 commit 76068b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hardware/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def generate(model, prefix=_PREFIX):

# Safe guard for models without ranges
for value in model.values():
if type(value) != STRING_TYPE:
if not isinstance(value, STRING_TYPE):
break
elif _RANGE_REGEXP.search(value):
break
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ commands =

[testenv:pep8]
deps=
hacking>=6.0.0 # Apache-2.0
flake8-import-order>=0.17.1 # LGPLv3
hacking~=6.1.0 # Apache-2.0
flake8-import-order~=0.18.0 # LGPLv3
pycodestyle>=2.0.0,<3.0.0 # MIT
commands = flake8 {posargs}

Expand Down

0 comments on commit 76068b5

Please sign in to comment.