Skip to content

Commit d1add10

Browse files
committed
refactor: Drop support for Python 2
1 parent 2b5e007 commit d1add10

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

src/git_changelog/build.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import print_function
2-
31
import sys
42
from datetime import datetime
53
from subprocess import check_output # nosec

src/git_changelog/cli.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
Also see http://click.pocoo.org/5/setuptools/#setuptools-integration.
1616
"""
1717

18-
from __future__ import print_function
19-
2018
import argparse
2119
import sys
2220

src/git_changelog/providers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def __str__(self):
2222
return self.ref + ": " + self.url
2323

2424

25-
class ProviderRefParser(object):
25+
class ProviderRefParser:
2626
REF = {}
2727

2828
def get_refs(self, ref_type, text):

0 commit comments

Comments
 (0)