Skip to content

Commit d717e7e

Browse files
committed
Relicense under LGPL-3.0, migrate to copier-python template
1 parent befb4f2 commit d717e7e

36 files changed

Lines changed: 1123 additions & 2608 deletions

β€Ž.copier-answers.ymlβ€Ž

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Changes here will be overwritten by Copier
2+
_commit: v0.3.0
3+
_src_path: gh:smkent/copier-python
4+
copyright_holder: Stephen Kent
5+
copyright_holder_email: smkent@smkent.net
6+
copyright_license: LGPL-3.0
7+
copyright_year: '2022'
8+
enable_container: false
9+
enable_coverage: true
10+
enable_docs: true
11+
enable_pypi: true
12+
github_user: smkent
13+
project_description: Email reply body generator for HTML and text in Python
14+
project_name: replyowl
15+
project_slug: replyowl
16+
project_type: library
17+
project_visibility: public
18+
python_version_minimum: '3.10'
19+
user_email: smkent@smkent.net
20+
user_name: Stephen Kent

β€Ž.cruft.jsonβ€Ž

Lines changed: 0 additions & 22 deletions
This file was deleted.

β€Ž.github/workflows/actions/python-poetry/action.ymlβ€Ž

Lines changed: 0 additions & 49 deletions
This file was deleted.

β€Ž.github/workflows/audit.yamlβ€Ž

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Audit
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- uv.lock
9+
pull_request:
10+
paths:
11+
- uv.lock
12+
13+
jobs:
14+
audit:
15+
name: Dependencies
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: πŸ’Ύ Check out repository
19+
uses: actions/checkout@v6
20+
21+
- name: πŸ¦€ Set up Python project with uv
22+
uses: astral-sh/setup-uv@v7
23+
with:
24+
enable-cache: true
25+
python-version: '3.14'
26+
27+
- name: 🐍 Install dependencies
28+
run: uv sync
29+
30+
- name: πŸ” Check dependencies
31+
run: uv run poe audit

β€Ž.github/workflows/cd.ymlβ€Ž

Lines changed: 0 additions & 65 deletions
This file was deleted.

β€Ž.github/workflows/ci.yamlβ€Ž

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
11+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
12+
13+
jobs:
14+
ci:
15+
name: Test (Python ${{ matrix.python-version }})
16+
runs-on: ubuntu-latest
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
python-version:
21+
- '3.10'
22+
- '3.11'
23+
- '3.12'
24+
- '3.13'
25+
- '3.14'
26+
steps:
27+
- name: πŸ’Ύ Check out repository
28+
uses: actions/checkout@v6
29+
30+
- name: πŸ¦€ Set up Python project with uv
31+
uses: astral-sh/setup-uv@v7
32+
with:
33+
enable-cache: true
34+
python-version: ${{ matrix.python-version }}
35+
36+
- name: 🐍 Install dependencies
37+
run: uv sync
38+
39+
- name: πŸ“ Lint
40+
run: uv run poe lint
41+
42+
- name: πŸ”₯ Test
43+
run: uv run poe test
44+
45+
- name: πŸ” Collect coverage results
46+
run: uv run coverage xml
47+
if: ${{ matrix.python-version == '3.14' }}
48+
49+
- name: πŸ“Š Upload coverage to Codecov
50+
uses: codecov/codecov-action@v6
51+
if: ${{ matrix.python-version == '3.14' }}
52+
with:
53+
fail_ci_if_error: true
54+
55+
docs:
56+
name: Documentation
57+
runs-on: ubuntu-latest
58+
steps:
59+
- name: πŸ’Ύ Check out repository
60+
uses: actions/checkout@v6
61+
with:
62+
fetch-depth: 0
63+
64+
- name: πŸ¦€ Set up Python project with uv
65+
uses: astral-sh/setup-uv@v7
66+
with:
67+
enable-cache: true
68+
python-version: '3.14'
69+
70+
- name: 🐍 Install dependencies
71+
run: uv sync
72+
73+
- name: πŸ“– Build documentation
74+
run: uv run poe docs-build
75+
76+
gitleaks:
77+
name: Secret scan
78+
runs-on: ubuntu-latest
79+
permissions:
80+
contents: read
81+
steps:
82+
- name: πŸ’Ύ Check out repository
83+
uses: actions/checkout@v6
84+
with:
85+
fetch-depth: 0
86+
87+
- name: πŸ” Check for secrets
88+
uses: gitleaks/gitleaks-action@v2
89+
env:
90+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

β€Ž.github/workflows/ci.ymlβ€Ž

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
Β (0)