Skip to content

Commit 1746094

Browse files
committed
New file location
1 parent 99d98c4 commit 1746094

File tree

2 files changed

+1
-22
lines changed

2 files changed

+1
-22
lines changed

.github/workflows/githubci.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,8 @@ jobs:
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:

SPDX.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -65,20 +65,3 @@
6565
print("Missing files:", missing_file)
6666
exit(-1)
6767
exit(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-
"""

0 commit comments

Comments
 (0)