Skip to content

Commit 549649f

Browse files
committed
build: move source root into src dir
1 parent 939288e commit 549649f

13 files changed

+7
-3
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ build-backend = "setuptools.build_meta"
3333
[tool.setuptools]
3434
packages = ["galatea"]
3535
zip-safe = true
36+
package-dir = {"" = "src"}
3637

3738
[tool.setuptools.package-data]
3839
"galatea" = [
@@ -47,6 +48,9 @@ version_provider = "pep621"
4748
update_changelog_on_bump = true
4849
major_version_zero = true
4950

51+
[tool.mypy]
52+
mypy_path = "src"
53+
5054
[tool.ruff]
5155
line-length = 79
5256
exclude = ["contrib/hooks"]

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sonar.organization=uiuclibrary
44
sonar.links.scm=https://github.com/UIUCLibrary/galatea
55
sonar.links.ci=https://jenkins-prod.library.illinois.edu/job/open%20source/job/Galatea/
66
sonar.links.homepage=https://github.com/UIUCLibrary/galatea
7-
sonar.sources=galatea
7+
sonar.sources=src
88
sonar.tests=tests
99
sonar.scm.provider=git
1010
sonar.python.version=3
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)