Skip to content

Commit

Permalink
oh ffs pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
n-oden committed Nov 20, 2020
1 parent b2669e8 commit 6923031
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ install:
- "pip install -e .[test]"
script:
- "py.test tests/"
- "pylint -d R0912 pydpkg/"
- "pylint -d R0912 -d W0511 pydpkg/"
- "pep8 --max-line-length=90 --ignore=E203 pydpkg/"
2 changes: 1 addition & 1 deletion pydpkg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ def compare_revision_strings(rev1, rev2):
"""Compare two debian revision strings as described at
https://www.debian.org/doc/debian-policy/ch-controlfields.html#version
"""
# FIXME(memory): this function now fails pylint R0912 too-many-branches
# TODO(memory): this function now fails pylint R0912 too-many-branches
if rev1 == rev2:
return 0
# listify pads results so that we will always be comparing ints to ints
Expand Down

0 comments on commit 6923031

Please sign in to comment.