Skip to content

Commit f637c18

Browse files
Update from copier (2026-02-15T05:25:09)
Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 3d818b2 commit f637c18

5 files changed

Lines changed: 80 additions & 12 deletions

File tree

.copier-answers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 3a223c6
2+
_commit: 4f23417
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: true
55
add_extension: python

.github/workflows/build.yaml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
python-version: ["3.12"]
3434

3535
steps:
36-
- uses: actions/checkout@v5
36+
- uses: actions/checkout@v6
3737

3838
- uses: actions-ext/python/setup@main
3939
with:
@@ -53,6 +53,7 @@ jobs:
5353
- name: Build
5454
run: make build
5555

56+
<<<<<<< before updating
5657
# - name: Test
5758
# run: make coverage
5859
#
@@ -72,3 +73,32 @@ jobs:
7273
# uses: codecov/codecov-action@v5
7374
# with:
7475
# token: ${{ secrets.CODECOV_TOKEN }}
76+
=======
77+
- name: Test
78+
run: make coverage
79+
80+
- name: Upload test results (Python)
81+
uses: actions/upload-artifact@v6
82+
with:
83+
name: test-results-${{ matrix.os }}-${{ matrix.python-version }}
84+
path: junit.xml
85+
if: ${{ always() }}
86+
87+
- name: Publish Unit Test Results
88+
uses: EnricoMi/publish-unit-test-result-action@v2
89+
with:
90+
files: '**/junit.xml'
91+
92+
- name: Upload coverage
93+
uses: codecov/codecov-action@v5
94+
with:
95+
token: ${{ secrets.CODECOV_TOKEN }}
96+
97+
- name: Make dist
98+
run: make dist
99+
100+
- uses: actions/upload-artifact@v6
101+
with:
102+
name: dist-${{matrix.os}}
103+
path: dist
104+
>>>>>>> after updating

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
docs:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v5
14+
- uses: actions/checkout@v6
1515
- uses: actions-ext/python/setup@main
1616
- run: |
1717
sudo apt-get update

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ physics_workload/extension
146146
# Jupyter
147147
.ipynb_checkpoints
148148
.autoversion
149+
Untitled*.ipynb
149150
!physics_workload/extension/physics_workload.json
150151
!physics_workload/extension/install.json
151152
physics_workload/nbextension

pyproject.toml

Lines changed: 46 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
[build-system]
2-
requires = ["hatchling"]
2+
requires = [
3+
"hatchling",
4+
]
35
build-backend="hatchling.build"
46

57
[project]
68
name = "physics-workload"
7-
authors = [{name = "Sam Mangham", email = "s.mangham@soton.ac.uk"}]
9+
authors = [
10+
{name = "Sam Mangham", email = "s.mangham@soton.ac.uk"},
11+
]
812
description = "Tool for managing staff teaching time."
913
readme = "README.md"
1014
license = { text = "Apache-2.0" }
1115
version = "0.1.0"
16+
<<<<<<< before updating
1217
requires-python = ">=3.11"
18+
=======
19+
requires-python = ">=3.10"
20+
>>>>>>> after updating
1321
keywords = []
1422

1523
classifiers = [
@@ -18,11 +26,11 @@ classifiers = [
1826
"Programming Language :: Python :: Implementation :: CPython",
1927
"Programming Language :: Python :: Implementation :: PyPy",
2028
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.9",
2229
"Programming Language :: Python :: 3.10",
2330
"Programming Language :: Python :: 3.11",
2431
"Programming Language :: Python :: 3.12",
2532
"Programming Language :: Python :: 3.13",
33+
"Programming Language :: Python :: 3.14",
2634
]
2735

2836
dependencies = [
@@ -54,12 +62,13 @@ develop = [
5462
"check-manifest",
5563
"codespell>=2.4,<2.5",
5664
"hatchling",
57-
"mdformat>=0.7.22,<0.8",
65+
"mdformat>=0.7.22,<1.1",
5866
"mdformat-tables>=1",
5967
"pytest",
6068
"pytest-cov",
61-
"ruff",
69+
"ruff>=0.9,<0.15",
6270
"twine",
71+
"ty",
6372
"uv",
6473
"wheel",
6574
"django-fastdev",
@@ -109,32 +118,60 @@ artifacts = []
109118
src = "/"
110119

111120
[tool.hatch.build.targets.sdist]
112-
packages = ["physics_workload"]
121+
packages = [
122+
"physics_workload",
123+
]
113124

114125
[tool.hatch.build.targets.wheel]
115-
packages = ["physics_workload"]
126+
packages = [
127+
"physics_workload",
128+
]
116129

117130
[tool.hatch.build.targets.wheel.shared-data]
118131

119132
[tool.pytest.ini_options]
120-
addopts = ["-vvv", "--junitxml=junit.xml"]
133+
addopts = [
134+
"-vvv",
135+
"--junitxml=junit.xml",
136+
]
121137
testpaths = "physics_workload/tests"
122138

123139
[tool.ruff]
124140
line-length = 150
125141

126142
[tool.ruff.lint]
127-
extend-select = ["I"]
143+
extend-select = [
144+
"I",
145+
]
128146

129147
[tool.ruff.lint.isort]
130148
combine-as-imports = true
131149
default-section = "third-party"
150+
<<<<<<< before updating
132151
known-first-party = ["physics_workload", "app", "core", "users"]
133152
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
134153

135154
[tool.ruff.lint.per-file-ignores]
136155
"__init__.py" = ["F401", "F403"]
137156
"*.py" = ["E731"]
157+
=======
158+
known-first-party = [
159+
"physics_workload",
160+
]
161+
section-order = [
162+
"future",
163+
"standard-library",
164+
"third-party",
165+
"first-party",
166+
"local-folder",
167+
]
168+
169+
[tool.ruff.lint.per-file-ignores]
170+
"__init__.py" = [
171+
"F401",
172+
"F403",
173+
]
174+
>>>>>>> after updating
138175

139176
[tool.yardang]
140177
title = "Teaching Time Tool"

0 commit comments

Comments
 (0)