File tree Expand file tree Collapse file tree 2 files changed +1
-22
lines changed Expand file tree Collapse file tree 2 files changed +1
-22
lines changed Original file line number Diff line number Diff line change 99 - uses : actions/setup-python@v2
1010 with :
1111 python-version : " 3.x"
12- - uses : actions/checkout@v2
13- with :
14- repository : adafruit/ci-arduino
15- path : ci
1612 - name : check SPDX licensing
17- run : python3 ci/ SPDX.py
13+ run : python3 SPDX.py
1814
1915 arduino :
2016 strategy :
Original file line number Diff line number Diff line change 6565 print ("Missing files:" , missing_file )
6666 exit (- 1 )
6767exit (0 )
68-
69-
70- """
71- print(
72- f"{len(missing)} Missing SPDX\n {len(has)} Have SPDX ({100*len(has)/len(files):.2f}%)"
73- )
74- with open('../missing.txt', 'w') as F:
75- for i in missing:
76- F.write(i+'\n ')
77-
78- with open('../has.txt', 'w') as F:
79- for i in has:
80- F.write(i+'\n ')
81-
82- for file in missing:
83- os.system(f"grep -irHn 'author' {file}")
84- """
You can’t perform that action at this time.
0 commit comments