Skip to content

Commit da45f08

Browse files
committed
Removing manifest checks from the workflow, fixing URL in pyproject.toml, renamed some things to src because I should eventually shift to the code being in a src directory.
1 parent e04a7f7 commit da45f08

6 files changed

Lines changed: 13 additions & 18 deletions

File tree

.copier-answers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ add_extension: python
66
email: s.mangham@soton.ac.uk
77
github: Southampton-RSG
88
project_description: Tool for managing staff teaching time.
9-
project_name: Teaching Time Tool
9+
project_name: physics-workload
1010
python_version_primary: '3.12'
1111
team: Sam Mangham

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050
- name: Lint
5151
run: make lint
5252

53-
- name: Checks
54-
run: make checks
53+
# - name: Checks
54+
# run: make checks
5555

5656
- name: Build
5757
run: make build

pyproject.toml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,16 @@ develop = [
7373
[project.scripts]
7474

7575
[project.urls]
76-
Repository = "https://github.com/Southampton-RSG/teaching-time-tool"
77-
Homepage = "https://github.com/Southampton-RSG/teaching-time-tool"
76+
Repository = "https://github.com/Southampton-RSG/physics-workload"
77+
Homepage = "https://github.com/Southampton-RSG/physics-workload"
7878

7979
[tool.bumpversion]
8080
current_version = "0.1.0"
8181
commit = true
8282
tag = true
8383

8484
[[tool.bumpversion.files]]
85-
filename = "teaching_time_tool/__init__.py"
85+
filename = "src/__init__.py"
8686
search = '__version__ = "{current_version}"'
8787
replace = '__version__ = "{new_version}"'
8888

@@ -96,12 +96,13 @@ ignore = [
9696
".copier-answers.yaml",
9797
"Makefile",
9898
"docs/**/*",
99+
".idea",
99100
]
100101

101102
[tool.coverage.run]
102103
branch = true
103104
omit = [
104-
"teaching_time_tool/tests/integration/",
105+
"src/tests/integration/",
105106
]
106107
[tool.coverage.report]
107108
exclude_also = [
@@ -119,16 +120,16 @@ artifacts = []
119120
src = "/"
120121

121122
[tool.hatch.build.targets.sdist]
122-
packages = ["teaching_time_tool"]
123+
packages = ["src"]
123124

124125
[tool.hatch.build.targets.wheel]
125-
packages = ["teaching_time_tool"]
126+
packages = ["src"]
126127

127128
[tool.hatch.build.targets.wheel.shared-data]
128129

129130
[tool.pytest.ini_options]
130131
addopts = ["-vvv", "--junitxml=junit.xml"]
131-
testpaths = "teaching_time_tool/tests"
132+
testpaths = "src/tests"
132133

133134
[tool.ruff]
134135
line-length = 150
@@ -138,8 +139,8 @@ extend-select = ["I"]
138139

139140
[tool.ruff.lint.isort]
140141
combine-as-imports = true
141-
default-section = "third-party"
142-
known-first-party = ["teaching_time_tool"]
142+
default-section = "src-party"
143+
known-first-party = ["src"]
143144
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
144145

145146
[tool.ruff.lint.per-file-ignores]
@@ -154,9 +155,3 @@ use-autoapi = true
154155

155156
[tool.uv.sources]
156157
physics-workload = { workspace = true }
157-
158-
[dependency-groups]
159-
dev = [
160-
"physics-workload",
161-
]
162-

0 commit comments

Comments
 (0)