Skip to content

Commit e558cd3

Browse files
committed
🐛 remove type hint in order to compatible with older versions
1 parent ca2714c commit e558cd3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

code_counter/conf/config.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# coding:utf8
2+
# -*- coding: utf-8 -*-
33

44
import json
55
import pkg_resources
@@ -25,9 +25,9 @@ class Config(metaclass=SingletonMeta):
2525
def __init__(self):
2626
conf = self.__load()
2727

28-
self.suffix: set = set(conf['suffix'])
29-
self.comment: set = set(conf['comment'])
30-
self.ignore: set = set(conf['ignore'])
28+
self.suffix = set(conf['suffix'])
29+
self.comment = set(conf['comment'])
30+
self.ignore = set(conf['ignore'])
3131

3232
def invoke(self, args):
3333
if args.restore:

0 commit comments

Comments
 (0)