Skip to content

Commit

Permalink
license: add missing SPDX license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
jls5177 committed Nov 19, 2024
1 parent edafda2 commit 3610051
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Justin Simon <justin@simonctl.com>
#
# SPDX-License-Identifier: MIT

# Set the default behavior, in case people don't have core.autocrlf set.
* text=lf

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ dependencies = [

[tool.hatch.envs.default.scripts]
license-check = "reuse lint"
add-license = "reuse annotate -c \"$(git config --get user.name) <$(git config --get user.email)>\" -l MIT --merge-copyrights -r {args:src/pymctp tests}"
add-license = "reuse annotate -c \"$(git config --get user.name) <$(git config --get user.email)>\" -l MIT --merge-copyrights -r ."

# Ruff
[tool.ruff]
Expand Down
4 changes: 4 additions & 0 deletions tests/layers/mctp/control/test_get_eid.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Justin Simon <justin@simonctl.com>
#
# SPDX-License-Identifier: MIT

import struct
import pytest

Expand Down

0 comments on commit 3610051

Please sign in to comment.