Skip to content

Commit

Permalink
Version bump for 2.0.3 (#15)
Browse files Browse the repository at this point in the history
* Version bump for 2.0.3

* Rmove unused import

* Add flake8 check to checkqa step
  • Loading branch information
lukeburden authored Nov 11, 2020
1 parent ae94d51 commit c27fc8e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
description=description,
long_description=long_description,
long_description_content_type="text/markdown",
version="2.0.2",
version="2.0.3",
license="MIT",
url=url,
packages=find_packages(exclude=["tests", "testproj"]),
Expand Down
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,8 @@ commands =
[testenv:checkqa]
commands =
black --check zengo
flake8 zengo
deps =
black
flake8

3 changes: 1 addition & 2 deletions zengo/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from django.conf import settings
from django.contrib.auth import get_user_model
from django.core.exceptions import ValidationError
from django.db import transaction
from django.forms.models import model_to_dict
from django.utils import timezone

Expand Down Expand Up @@ -245,7 +244,7 @@ def sync_ticket(self, remote_zd_ticket):
# establish a distinct, ordered list of Zendesk users
users = set(
[remote_zd_ticket.requester]
+ [c.author for c in remote_comments if c.author_id != -1]
+ [c.author for c in remote_comments if c.author_id != -1] # noqa
)
users = list(users)
users.sort(key=lambda u: u.id)
Expand Down

0 comments on commit c27fc8e

Please sign in to comment.