fix: remove hardcoded path

This commit is contained in:
Faris Ansari 2020-10-12 21:03:22 +05:30
parent 8708e56896
commit 18bc0d14cf

View file

@ -21,8 +21,6 @@ starts_with_f_pattern = re.compile(r"_\(f")
files = sys.argv[1:]
files_to_scan = [_file for _file in files if _file.endswith(('.py', '.js'))]
files_to_scan = ['/Users/farisansari/Projects/benches/frappe-bench/apps/frappe/.github/helper/translation.py']
for _file in files_to_scan:
with open(_file, 'r') as f:
print(f'Checking: {_file}')