Skip to content

Commit 7dcfed4

Browse files
committed
Added checks for conformance. date published and licence.
2 parents b13ed73 + 6a6f98d commit 7dcfed4

383 files changed

Lines changed: 21306 additions & 3122 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright (c) 2024-2026 CRS4
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
# This workflow is triggered on push to tags and runs the following steps:
216
# 1. Check and Build Distribution
317
# 2. Publish to TestPyPI

.github/workflows/testing.yaml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright (c) 2024-2026 CRS4
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
name: 🧪 CI Pipeline 1 -- Testing
216

317
# Controls when the action will run. Triggers the workflow on push or pull request
@@ -25,9 +39,9 @@ env:
2539
FORCE_COLOR: "1" # Force color output in CI
2640

2741
jobs:
28-
# Verifies pep8, pyflakes and circular complexity
29-
flake8:
30-
name: 🚨 Lint Python Code
42+
# Verifies pep8, pyflakes, circular complexity, and spelling
43+
lint:
44+
name: 🚨 Lint and spellcheck
3145
runs-on: ubuntu-latest
3246
steps:
3347
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
@@ -39,14 +53,16 @@ jobs:
3953
python-version: ${{ env.PYTHON_VERSION }}
4054
- name: 🔽 Install flake8
4155
run: pip install flake8
42-
- name: Run checks
56+
- name: Lint Python code
4357
run: flake8 -v rocrate_validator tests
58+
- name: ⌛ Spell check code and profiles (covers Python and SHACL)
59+
uses: crate-ci/typos@v1.41.0
4460

4561
# Runs the tests
4662
test:
4763
name: ⌛ Run tests
4864
runs-on: ubuntu-latest
49-
needs: [flake8]
65+
needs: [lint]
5066
steps:
5167
- name: ⬇️ Checkout
5268
uses: actions/checkout@v4

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright (c) 2024-2026 CRS4
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
.DS_Store
216
**/__pycache__
317
**/*.pyc
@@ -13,3 +27,7 @@ docs/_build
1327
**/.coverage
1428
**/.coverage.*
1529
**/.report
30+
31+
# ignore IDE files
32+
.vscode/
33+
.idea/

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024-2025 CRS4
1+
# Copyright (c) 2024-2026 CRS4
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

.readthedocs.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright (c) 2024-2026 CRS4
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
# Read the Docs configuration file for Sphinx projects
216
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
317

0 commit comments

Comments
 (0)