mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
Add note about Perltidy.
This commit is contained in:
parent
e2a632a2b8
commit
494c20f634
@ -247,6 +247,8 @@ def format_source(root_dir, ignore, verbose=False, dry_run=False,
|
||||
Uses `astyle` for C and C++. Also uses GNU `sed` to strip trailing
|
||||
whitespace.
|
||||
"""
|
||||
# TODO: Run perltidy on Perl files. I get a reasonably close match
|
||||
# on style with: --paren-tightness=2 --cuddled-else
|
||||
check_astyle_version(verbose=verbose)
|
||||
c_like_files = list_c_like_files(root_dir, ignore=ignore)
|
||||
for chunk in chunk_file_list(c_like_files, files_at_a_time):
|
||||
|
Loading…
Reference in New Issue
Block a user