Skip to content

Commit

Permalink
Merge pull request #322 from ClearcodeHQ/dependabot/pip/pylint-2.6.0
Browse files Browse the repository at this point in the history
Bump pylint from 2.5.3 to 2.6.0
  • Loading branch information
fizyk committed Aug 25, 2020
2 parents 9353e0c + 3a934f2 commit 2924415
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements-lint.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# linters
pycodestyle==2.6.0
pydocstyle==5.1.0
pylint==2.5.3
pylint==2.6.0
pygments
pyroma==2.6
-r requirements-test.txt
4 changes: 2 additions & 2 deletions src/pytest_postgresql/port.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ def get_port(ports):
nums = set(filter_by_type(ports, int))
sets = set(chain.from_iterable(filter_by_type(ports, (set, frozenset))))
ports_set = ports_set.union(ranges, sets, nums)
except ValueError:
raise InvalidPortsDefinition
except ValueError as exc:
raise InvalidPortsDefinition from exc

return port_for.select_random(ports_set)

Expand Down

0 comments on commit 2924415

Please sign in to comment.