Skip to content
Snippets Groups Projects
Unverified Commit a53daab1 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[reuse] Make project reuse compliant

parent f5186f07
No related branches found
No related tags found
1 merge request!8Make the project reuse compliant
Pipeline #67013 passed
# Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: BSD-3-Clause
[flake8] [flake8]
max-line-length = 80 max-line-length = 80
ignore = E501,W503,E302,E402,E203 ignore = E501,W503,E302,E402,E203
# Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: BSD-3-Clause
*~ *~
*.swp *.swp
*.pyc *.pyc
...@@ -14,3 +18,7 @@ html/ ...@@ -14,3 +18,7 @@ html/
build/ build/
doc/api/ doc/api/
dist/ dist/
.mypy_cache/
.pytest_cache/
cache/
venv/
# Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: BSD-3-Clause
include: include:
- project: bob/dev-profile - project: bob/dev-profile
ref: master ref: master
......
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: exposed
Upstream-Contact: Andre Anjos <andre.anjos@idiap.ch>
Source: https://gitlab.idiap.ch/bob/exposed
Files: tests/data/*
Copyright: Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
License: BSD-3-Clause
Copyright (c) 2022 Idiap Research Institute, http://www.idiap.ch/
Written by Andre Anjos <andre.anjos@idiap.ch>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Copyright (c) <year> <owner>.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: BSD-3-Clause
include LICENSE README.md include LICENSE README.md
recursive-include doc *.rst *.txt *.py *.ico *.png recursive-include doc *.rst *.txt *.py *.ico *.png
recursive-include tests/data *.py *.cfg recursive-include tests/data *.py *.cfg
<!--
Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
SPDX-License-Identifier: BSD-3-Clause
-->
[![latest-docs](https://img.shields.io/badge/docs-latest-orange.svg)](https://www.idiap.ch/software/bob/docs/bob/exposed/master/sphinx/index.html) [![latest-docs](https://img.shields.io/badge/docs-latest-orange.svg)](https://www.idiap.ch/software/bob/docs/bob/exposed/master/sphinx/index.html)
[![build](https://gitlab.idiap.ch/bob/exposed/badges/master/pipeline.svg)](https://gitlab.idiap.ch/bob/exposed/commits/master) [![build](https://gitlab.idiap.ch/bob/exposed/badges/master/pipeline.svg)](https://gitlab.idiap.ch/bob/exposed/commits/master)
[![coverage](https://gitlab.idiap.ch/bob/exposed/badges/master/coverage.svg)](https://www.idiap.ch/software/bob/docs/bob/exposed/master/coverage/index.html) [![coverage](https://gitlab.idiap.ch/bob/exposed/badges/master/coverage.svg)](https://www.idiap.ch/software/bob/docs/bob/exposed/master/coverage/index.html)
......
# Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: BSD-3-Clause
{% set data = load_file_data(RECIPE_DIR + '/../pyproject.toml') %} {% set data = load_file_data(RECIPE_DIR + '/../pyproject.toml') %}
package: package:
......
.. Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
..
.. SPDX-License-Identifier: BSD-3-Clause
.. _exposed.api: .. _exposed.api:
============ ============
......
.. Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
..
.. SPDX-License-Identifier: BSD-3-Clause
.. _exposed.click: .. _exposed.click:
====================== ======================
......
# Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: BSD-3-Clause
import os import os
import time import time
......
.. Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
..
.. SPDX-License-Identifier: BSD-3-Clause
.. _exposed.config: .. _exposed.config:
==================================== ====================================
......
# Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: BSD-3-Clause
a = 1 a = 1
b = a + 2 b = a + 2
# Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: BSD-3-Clause
# the b variable from the last config file is available here # the b variable from the last config file is available here
c = b + 1 # noqa: F821 c = b + 1 # noqa: F821
b = b + 3 # noqa: F821 b = b + 3 # noqa: F821
# Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: BSD-3-Clause
"""An example script to demonstrate config-file option readout.""" """An example script to demonstrate config-file option readout."""
# To improve loading performance, we recommend you only import the very # To improve loading performance, we recommend you only import the very
......
# Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: BSD-3-Clause
"""An example script to demonstrate config-file option readout.""" """An example script to demonstrate config-file option readout."""
# To improve loading performance, we recommend you only import the very # To improve loading performance, we recommend you only import the very
......
# Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: BSD-3-Clause
from exposed.click import config_group from exposed.click import config_group
from exposed.logging import setup from exposed.logging import setup
......
# Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: BSD-3-Clause
from exposed.click import user_defaults_group from exposed.click import user_defaults_group
from exposed.logging import setup from exposed.logging import setup
from exposed.rc import UserDefaults from exposed.rc import UserDefaults
......
# Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: BSD-3-Clause
import logging import logging
from exposed.logging import setup from exposed.logging import setup
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment