File tree Expand file tree Collapse file tree
is-unicode-supported/utils
programming-languages/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22import shutil , sys
33from types import SimpleNamespace as sn
44
5- import find_project_root
6-
75from .lib import data , log
86
97def main ():
10- msgs_path = Path (find_project_root ()) / 'data/messages.json' # type: ignore
8+ msgs_path = Path (__file__ ). parent / 'data/messages.json'
119 msgs = sn (** { key :val ['message' ] for key ,val in data .json .read (msgs_path )['clean' ].items () })
1210 targets = ['*.pyc' ]
1311 if '--py2' not in sys .argv :
Original file line number Diff line number Diff line change 22import shutil , sys
33from types import SimpleNamespace as sn
44
5- import find_project_root
6-
75from .lib import data , log
86
97def main ():
10- msgs_path = Path (find_project_root ()) / 'data/messages.json' # type: ignore
8+ msgs_path = Path (__file__ ). parent / 'data/messages.json'
119 msgs = sn (** { key :val ['message' ] for key ,val in data .json .read (msgs_path )['clean' ].items () })
1210 targets = ['*.pyc' ]
1311 if '--py2' not in sys .argv :
Original file line number Diff line number Diff line change 22import shutil , sys
33from types import SimpleNamespace as sn
44
5- import find_project_root
6-
75from .lib import data , log
86
97def main ():
10- msgs_path = Path (find_project_root ()) / 'data/messages.json' # type: ignore
8+ msgs_path = Path (__file__ ). parent / 'data/messages.json'
119 msgs = sn (** { key :val ['message' ] for key ,val in data .json .read (msgs_path )['clean' ].items () })
1210 targets = ['*.pyc' ]
1311 if '--py2' not in sys .argv :
Original file line number Diff line number Diff line change 22import shutil , sys
33from types import SimpleNamespace as sn
44
5- import find_project_root
6-
75from .lib import data , log
86
97def main ():
10- msgs_path = Path (find_project_root ()) / 'data/messages.json' # type: ignore
8+ msgs_path = Path (__file__ ). parent / 'data/messages.json'
119 msgs = sn (** { key :val ['message' ] for key ,val in data .json .read (msgs_path )['clean' ].items () })
1210 targets = ['*.pyc' ]
1311 if '--py2' not in sys .argv :
Original file line number Diff line number Diff line change 22import shutil , sys
33from types import SimpleNamespace as sn
44
5- import find_project_root
6-
75from src .get_min_py .cli .lib import data , log
86
97def main ():
10- msgs_path = Path (find_project_root ()) / 'data/messages.json' # type: ignore
8+ msgs_path = Path (__file__ ). parent / 'data/messages.json'
119 msgs = sn (** { key :val ['message' ] for key ,val in data .json .read (msgs_path )['clean' ].items () })
1210 targets = ['*.pyc' ]
1311 if '--py2' not in sys .argv :
Original file line number Diff line number Diff line change 22import shutil , sys
33from types import SimpleNamespace as sn
44
5- import find_project_root
6-
75from src .is_legacy_terminal .cli .lib import data , log
86
97def main ():
10- msgs_path = Path (find_project_root ()) / 'data/messages.json' # type: ignore
8+ msgs_path = Path (__file__ ). parent / 'data/messages.json'
119 msgs = sn (** { key :val ['message' ] for key ,val in data .json .read (msgs_path )['clean' ].items () })
1210 targets = ['*.pyc' ]
1311 if '--py2' not in sys .argv :
Original file line number Diff line number Diff line change 22import shutil , sys
33from types import SimpleNamespace as sn
44
5- import find_project_root
6-
75from src .is_unicode_supported .cli .lib import data , log
86
97def main ():
10- msgs_path = Path (find_project_root ()) / 'data/messages.json' # type: ignore
8+ msgs_path = Path (__file__ ). parent / 'data/messages.json'
119 msgs = sn (** { key :val ['message' ] for key ,val in data .json .read (msgs_path )['clean' ].items () })
1210 targets = ['*.pyc' ]
1311 if '--py2' not in sys .argv :
Original file line number Diff line number Diff line change 22import shutil , sys
33from types import SimpleNamespace as sn
44
5- import find_project_root
6-
75from .lib import data , log
86
97def main ():
10- msgs_path = Path (find_project_root ()) / 'data/messages.json' # type: ignore
8+ msgs_path = Path (__file__ ). parent / 'data/messages.json'
119 msgs = sn (** { key :val ['message' ] for key ,val in data .json .read (msgs_path )['clean' ].items () })
1210 targets = ['*.pyc' ]
1311 if '--py2' not in sys .argv :
Original file line number Diff line number Diff line change 22import shutil , sys
33from types import SimpleNamespace as sn
44
5- import find_project_root
6-
75from .lib import data , log
86
97def main ():
10- msgs_path = Path (find_project_root ()) / 'data/messages.json' # type: ignore
8+ msgs_path = Path (__file__ ). parent / 'data/messages.json'
119 msgs = sn (** { key :val ['message' ] for key ,val in data .json .read (msgs_path )['clean' ].items () })
1210 targets = ['*.pyc' ]
1311 if '--py2' not in sys .argv :
Original file line number Diff line number Diff line change 22import shutil , sys
33from types import SimpleNamespace as sn
44
5- import find_project_root
6-
75from .lib import data , log
86
97def main ():
10- msgs_path = Path (find_project_root ()) / 'data/messages.json' # type: ignore
8+ msgs_path = Path (__file__ ). parent / 'data/messages.json'
119 msgs = sn (** { key :val ['message' ] for key ,val in data .json .read (msgs_path )['clean' ].items () })
1210 targets = ['*.pyc' ]
1311 if '--py2' not in sys .argv :
You can’t perform that action at this time.
0 commit comments