Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #683 - enable SPDX linter checks #1578

Merged
merged 2 commits into from
Sep 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,8 @@ jobs:

licenses:
runs-on: ubuntu-20.04
continue-on-error: true
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: REUSE Compliance Check
uses: fsfe/[email protected]
continue-on-error: true
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env python

# SPDX-FileCopyrightText: 2021 ret2libc <[email protected]>
# SPDX-License-Identifier: LGPL-3.0-only

import sys

TEMPLATE = '''/*
Expand Down Expand Up @@ -39,4 +43,4 @@ def def2errtype(x):
zip_err_strs = '\n'.join(['"' + def2errstr(x) + '",' for x in defines])
zip_err_types = '\n'.join([def2errtype(x) + ',' for x in defines])

open(zip_err_str_c, 'w').write(TEMPLATE.format(zip_err_strs=zip_err_strs, zip_err_types=zip_err_types))
open(zip_err_str_c, 'w').write(TEMPLATE.format(zip_err_strs=zip_err_strs, zip_err_types=zip_err_types))