Skip to content

Commit 76ea37a

Browse files
farhanclaude
andcommitted
feat: move mockprock package into src/ layout
Move the package from top-level mockprock/ to src/mockprock/ per the modernization standard. Update pyproject.toml (add where = ["src"], switch to source_pkgs for coverage) and tox.ini (point pylint/isort at src/mockprock). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ce47314 commit 76ea37a

13 files changed

Lines changed: 4 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ get-dashboard = "mockprock.commands:get_url"
4747
Repository = "https://github.com/openedx/mockprock"
4848

4949
[tool.setuptools.packages.find]
50+
where = ["src"]
5051
exclude = ["tests*", "*.tests", "*.tests.*"]
5152

5253
[tool.setuptools.package-data]
@@ -114,7 +115,7 @@ addopts = "--cov mockprock --cov-report term-missing --cov-report xml"
114115
# https://coverage.readthedocs.io/en/latest/config.html
115116
[tool.coverage.run]
116117
branch = true
117-
source = ["mockprock"]
118+
source_pkgs = ["mockprock"]
118119
omit = [
119120
"*/tests/*",
120121
"*/__pycache__/*",
File renamed without changes.

0 commit comments

Comments
 (0)