Skip to content

Commit

Permalink
Move dev-packages to metricflow-semantics.
Browse files Browse the repository at this point in the history
  • Loading branch information
plypaul committed Jun 4, 2024
1 parent 63fb9ae commit 1f9bc23
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
15 changes: 3 additions & 12 deletions metricflow-semantics/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,16 @@ classifiers = [
]

# Dependencies are specified through the `hatch-requirements-txt` plug-in.
dynamic = ["dependencies"]
dynamic = ["dependencies", "optional-dependencies"]

[tool.hatch.metadata.hooks.requirements_txt]
files = [
"extra-hatch-configuration/requirements.txt",
]

[project.optional-dependencies]
[tool.hatch.metadata.hooks.requirements_txt.optional-dependencies]
dev-packages = [
# Developer tools
"mypy>=1.7.0, <1.8.0",
"pre-commit>=3.2.2, <3.3.0",
"pytest-mock>=3.7.0, <3.8.0",
"pytest-xdist>=3.2.1, <3.3.0",
"pytest>=7.1.1, < 7.2.0",
"tabulate>=0.8.9",
"types-PyYAML",
"types-python-dateutil",
"types-tabulate",
"extra-hatch-configuration/requirements-dev-packages.txt",
]

[tool.hatch.envs.dev-env]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Documentation = "https://docs.getdbt.com/docs/build/about-metricflow"

[tool.hatch.metadata.hooks.requirements_txt.optional-dependencies]
dev-packages = [
"extra-hatch-configuration/requirements-dev-packages.txt",
"metricflow-semantics/extra-hatch-configuration/requirements-dev-packages.txt",
"dbt-metricflow/extra-hatch-configuration/requirements-cli.txt"
]
sql-client-packages = [
Expand Down

0 comments on commit 1f9bc23

Please sign in to comment.