Browse Source

PASS1-127: Fix `reuse lint` issues in the repo (#26)

PASS1-133
Corey Lakey 3 years ago
committed by Ken Carpenter
parent
commit
5d6ac63496
  1. 2
      .githooks/commit-msg
  2. 2
      .githooks/pre-commit
  3. 5
      .reuse/dep5

2
.githooks/commit-msg

@ -1,4 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# SPDX-FileCopyrightText: 2021 Foundation Devices, Inc. <hello@foundationdevices.com>
# SPDX-License-Identifier: GPL-3.0-or-later
TEAM_PREFIX='PASS1' TEAM_PREFIX='PASS1'
commit_regex="^($TEAM_PREFIX-[0-9]+:\ )" commit_regex="^($TEAM_PREFIX-[0-9]+:\ )"

2
.githooks/pre-commit

@ -1,4 +1,6 @@
#!/bin/bash #!/bin/bash
# SPDX-FileCopyrightText: 2021 Foundation Devices, Inc. <hello@foundationdevices.com>
# SPDX-License-Identifier: GPL-3.0-or-later
RESULTS=$(find . -name '*.py' -exec grep -H fake_it[\ ]*=[\ ]*True {} +) RESULTS=$(find . -name '*.py' -exec grep -H fake_it[\ ]*=[\ ]*True {} +)
LEN=`expr length "$RESULTS"` LEN=`expr length "$RESULTS"`

5
.reuse/dep5

@ -3,7 +3,7 @@ Upstream-Name: Passport
Upstream-Contact: hello@foundationdevices.com Upstream-Contact: hello@foundationdevices.com
Source: https://git.example.com/FoundationDevices/passport Source: https://git.example.com/FoundationDevices/passport
Files: ACKNOWLEDGEMENTS *.md docs/* drivers/* examples/* extmod/* lib/* py/* tests/* tools/* .gitattributes .gitignore .gitmodules .travis.yml logo/* mpy-cross/* Files: MP-ACKNOWLEDGEMENTS *.md docs/* drivers/* examples/* extmod/* lib/* py/* tests/* tools/* .gitattributes .gitignore .gitmodules .travis.yml logo/* mpy-cross/*
Copyright: Copyright (c) 2016-2020 Damien P. George (http://micropython.org/) Copyright: Copyright (c) 2016-2020 Damien P. George (http://micropython.org/)
License: MIT License: MIT
@ -17,3 +17,6 @@ License: MIT
Copyright: 020 Foundation Devices, Inc. <hello@foundationdevices.com> Copyright: 020 Foundation Devices, Inc. <hello@foundationdevices.com>
License: GPL-3.0-or-later License: GPL-3.0-or-later
Files: SECURITY/*.png
Copyright: 020 Foundation Devices, Inc. <hello@foundationdevices.com>
License: GPL-3.0-or-later
Loading…
Cancel
Save