From ccba453686a66b069343f495b35069f371c50dc5 Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral Date: Tue, 31 May 2022 13:32:59 +0200 Subject: [PATCH] add missing headers Signed-off-by: Unai Martinez-Corral --- .github/dependabot.yml | 16 ++++++++++++++++ .github/workflows/Automerge.yml | 16 ++++++++++++++++ docs/Makefile | 15 +++++++++++++++ docs/conf.py | 17 +++++++++++++++++ docs/environment.yml | 16 ++++++++++++++++ docs/f4pga/browse_pydoc.sh | 18 +++++++++++++++++- f4pga/wrappers/sh/__init__.py | 1 + f4pga/wrappers/sh/quicklogic/vpr_config.sh | 2 ++ readthedocs.yml | 16 ++++++++++++++++ test/test_wrappers.py | 19 +++++++++++++++++++ 10 files changed, 135 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c3437c6..775c001 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,3 +1,19 @@ +# Copyright (C) 2020-2022 F4PGA Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + version: 2 updates: diff --git a/.github/workflows/Automerge.yml b/.github/workflows/Automerge.yml index cc8f9ce..8d41788 100644 --- a/.github/workflows/Automerge.yml +++ b/.github/workflows/Automerge.yml @@ -1,3 +1,19 @@ +# Copyright (C) 2020-2022 F4PGA Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + name: Automerge on: diff --git a/docs/Makefile b/docs/Makefile index 4bac849..a3c9c91 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,3 +1,18 @@ +# Copyright (C) 2020-2022 F4PGA Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 TOP_DIR := $(realpath $(dir $(lastword $(MAKEFILE_LIST)))) REQUIREMENTS_FILE := requirements.txt diff --git a/docs/conf.py b/docs/conf.py index 6810853..538f5f3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,5 +1,22 @@ +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # +# Copyright (C) 2020-2022 F4PGA Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# # Updated documentation of the configuration options is available at # https://www.sphinx-doc.org/en/master/usage/configuration.html diff --git a/docs/environment.yml b/docs/environment.yml index 60b8d98..99c90ee 100644 --- a/docs/environment.yml +++ b/docs/environment.yml @@ -1,3 +1,19 @@ +# Copyright (C) 2020-2022 F4PGA Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + name: f4pga-docs channels: - symbiflow diff --git a/docs/f4pga/browse_pydoc.sh b/docs/f4pga/browse_pydoc.sh index 5e96b99..2772d67 100755 --- a/docs/f4pga/browse_pydoc.sh +++ b/docs/f4pga/browse_pydoc.sh @@ -1,4 +1,20 @@ -#!/bin/sh +#!/usr/bin/env sh +# +# Copyright (C) 2020-2022 F4PGA Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 MY_DIR=`dirname $0` SFBUILD_DIR=${MY_DIR}/../../f4pga diff --git a/f4pga/wrappers/sh/__init__.py b/f4pga/wrappers/sh/__init__.py index 3d96618..fc59c3e 100644 --- a/f4pga/wrappers/sh/__init__.py +++ b/f4pga/wrappers/sh/__init__.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright (C) 2020-2022 F4PGA Authors. diff --git a/f4pga/wrappers/sh/quicklogic/vpr_config.sh b/f4pga/wrappers/sh/quicklogic/vpr_config.sh index bee56e1..5b8ca1a 100755 --- a/f4pga/wrappers/sh/quicklogic/vpr_config.sh +++ b/f4pga/wrappers/sh/quicklogic/vpr_config.sh @@ -1,3 +1,5 @@ +#!/usr/bin/env sh +# # Copyright (C) 2020-2022 F4PGA Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/readthedocs.yml b/readthedocs.yml index dadd759..519abe1 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -1,3 +1,19 @@ +# Copyright (C) 2020-2022 F4PGA Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# # Read the Docs configuration file # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details diff --git a/test/test_wrappers.py b/test/test_wrappers.py index d6ce1bb..418a5b3 100644 --- a/test/test_wrappers.py +++ b/test/test_wrappers.py @@ -1,3 +1,22 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020-2022 F4PGA Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + from os import environ from pytest import mark from sys import stdout, stderr