Skip to content

Commit

Permalink
new: add reuse tool to lint environment, use reuse cfg and LICENSES dir
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
  • Loading branch information
sarnold committed Oct 31, 2024
1 parent 22c8c28 commit 5af95a6
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 21 deletions.
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

1 change: 1 addition & 0 deletions LICENSE
9 changes: 9 additions & 0 deletions LICENSES/MIT.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
MIT License

Copyright (c) <year> <copyright holders>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26 changes: 26 additions & 0 deletions REUSE.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version = 1

[[annotations]]
path = [
"README.*",
"setup.py",
"setup.cfg",
"**/server.py",
]
SPDX-FileCopyrightText = [
"Copyright 2019 dheerajmpai and saenews",
"2022-2024 Stephen Arnold <sarnold@vctlabs.com>",
]
SPDX-License-Identifier = "MIT"

[[annotations]]
path = "toxfile.py"
SPDX-FileCopyrightText = "Copyright (c) 2023 Masen Furer"
SPDX-License-Identifier = "MIT"

[[annotations]]
path = "**"
SPDX-FileCopyrightText = [
"2022-2024 Stephen Arnold <sarnold@vctlabs.com>",
]
SPDX-License-Identifier = "MIT"
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ deps =
{[base]deps}
-r requirements.txt
pylint
reuse

commands =
pylint --fail-under=9.70 src/ scripts/
Expand Down

0 comments on commit 5af95a6

Please sign in to comment.