Skip to content

Commit 0203a1a

Browse files
committed
first commit
0 parents  commit 0203a1a

File tree

438 files changed

+22653
-0
lines changed

Some content is hidden

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

438 files changed

+22653
-0
lines changed

.github/workflows/license.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Check licensing information
2+
description: |
3+
This workflow checks that the license headers and files are up to date.
4+
It runs on pull requests to ensure that any changes to the codebase maintain the required licensing information.
5+
6+
on:
7+
pull_request:
8+
9+
jobs:
10+
check-license-headers:
11+
runs-on: ubuntu-latest
12+
env:
13+
PYTHON_VERSION: '3.13'
14+
TASKFILE_VERSION: 'v3.44.0'
15+
TASKFILE_PATH: '/home/runner/go/bin'
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
20+
- name: Set up Python
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version: ${{ env.PYTHON_VERSION }}
24+
25+
- name: Check license headers and files
26+
run: |
27+
python -m venv .venv
28+
. .venv/bin/activate
29+
which task || curl -sSfL https://taskfile.dev/install.sh | sh -s -- -b ${{ env.TASKFILE_PATH }} ${{ env.TASKFILE_VERSION }}
30+
export PATH="${{ env.TASKFILE_PATH }}:$PATH"
31+
task license
32+
if git diff --quiet; then
33+
echo "License data is up to date!"
34+
else
35+
echo "Please update license headers and files by running 'task license'. Found the following differences:"
36+
echo "$(git diff)"
37+
exit 1
38+
fi

.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# ASDF
2+
.tool-versions
3+
4+
# Python
5+
.venv
6+
7+
# Taskfile
8+
.task/
9+
Taskfile.yml
10+
11+
# Examples
12+
*.db
13+
*.pem
14+
.cache/
15+
__pycache__/
16+
**/.DS_Store
17+
18+
# IDEs
19+
.vscode/*
20+
.idea/*

0 commit comments

Comments
 (0)