Skip to content

Commit

Permalink
Bump hacking and flake8-import-order versions
Browse files Browse the repository at this point in the history
  • Loading branch information
elfosardo committed Jan 31, 2024
1 parent 2c22747 commit de5a689
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 de5a689

Please sign in to comment.