Skip to content

Commit c3497a1

Browse files
committed
relo quotes to _data
1 parent 1cb396e commit c3497a1

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

pyproject.toml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,19 @@ requires = ["setuptools >= 70.1", "setuptools_scm[toml] ~= 8.1"]
55
[dependency-groups]
66
dev = [
77
"deptry>=0.23",
8+
"ipython",
9+
"jupyter",
810
"mkdocs-awesome-nav>=3.1.2",
911
"mkdocs-material>=9.6",
1012
"mkdocs>=1.6",
1113
"mkdocstrings[python]>=0.30",
1214
"mypy>=1.17",
1315
"pre-commit>=3.8",
1416
"pytest-cov>=4.1",
15-
"pytest>=7.4",
17+
"pytest-recording",
18+
"pytest~=7.4",
1619
"ruff>=0.12",
20+
"toml-sort",
1721
"tox-uv>=1.28",
1822
"vcrpy"
1923
]
@@ -88,7 +92,11 @@ skip_empty = true
8892

8993
[tool.coverage.run]
9094
branch = true
91-
omit = ["*/test/*", "*/tests/*", "*_test.py"]
95+
omit = [
96+
"*_test.py",
97+
"*/test/*",
98+
"*/tests/*",
99+
]
92100
source = ["src"]
93101

94102
[tool.deptry]
@@ -203,11 +211,10 @@ zip-safe = true
203211
[tool.setuptools.package-data]
204212
# "*" = ["_data/*/*.json.gz"]
205213
# "*" = ["*.gz", "*.json", "*.yaml"]
206-
# hgvs = ["_data/*"]
214+
"*" = ["_data/*"]
207215

208216
[tool.setuptools.packages.find]
209217
exclude = ["*.pyc", "__pycache__"]
210-
# namespaces = true
211218
where = ["src"]
212219

213220
[tool.setuptools_scm]

src/biocommons/example/marvin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
_logger = logging.getLogger(__name__)
1414

1515

16-
quotes_stream = importlib.resources.files(__package__).joinpath("quotes.yaml").read_text()
16+
quotes_stream = importlib.resources.files(__package__).joinpath("_data/quotes.yaml").read_text()
1717
quotes = yaml.load(quotes_stream, Loader=yaml.SafeLoader)["quotes"]
1818

1919

0 commit comments

Comments
 (0)