diff --git a/Pipfile b/Pipfile index 967f650..ae1f362 100644 --- a/Pipfile +++ b/Pipfile @@ -4,9 +4,10 @@ url = "https://pypi.org/simple" verify_ssl = true [packages] -flask = "~=2.0.0" +flask = "~=2.3.0" requests = "~=2.26.0" jira = "~=3.0.0" +logging-formatter-anticrlf = "~=1.2.0" [requires] python_version = "3" diff --git a/ghlib.py b/ghlib.py index 2133fa2..6f24615 100644 --- a/ghlib.py +++ b/ghlib.py @@ -93,7 +93,6 @@ def create_hook_helper( insecure_ssl="0", content_type="json", ): - if "/" in entity: etype = "repos" else: diff --git a/jiralib.py b/jiralib.py index 589a156..a6bf0e9 100644 --- a/jiralib.py +++ b/jiralib.py @@ -270,7 +270,6 @@ def parse_state(self, raw_state): return raw_state != self.endstate def transition(self, transition): - if ( self.get_state() and transition == self.reopenstate diff --git a/requirements.txt b/requirements.txt index 0d90901..0226a96 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ bandit~=1.7.0 -black~=21.0b +black~=23.11.0 flake8~=4.0.0 -flask~=2.0.0 +flask~=2.3.0 jira~=3.0.0 logging-formatter-anticrlf==1.2 requests~=2.26.0