mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Format Python scripts with yapf.
We also add a very basic yapf configuration file. Most of the changes in this patch were performed automatically, but we broke one overly long string into multiple components on `src/make_dbg_constants.py`.
This commit is contained in:
parent
1f388e3f40
commit
fd56eddcfb
5 changed files with 39 additions and 14 deletions
|
@ -56,4 +56,5 @@ for k in stats:
|
|||
num_covered += 1
|
||||
|
||||
if len(stats) > 0:
|
||||
print("%s/%s (%.1f%%) Zeek script statements covered." % (num_covered, len(stats), float(num_covered)/len(stats)*100))
|
||||
print("%s/%s (%.1f%%) Zeek script statements covered." %
|
||||
(num_covered, len(stats), float(num_covered) / len(stats) * 100))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue