Skip to content

Commit

Permalink
rerun format
Browse files Browse the repository at this point in the history
  • Loading branch information
mdekstrand committed Dec 10, 2024
1 parent c88ef99 commit 4c4bb21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 31 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@ repos:
- yaml
- toml
- json
exclude: ^models/
additional_dependencies:
- dprint
36 changes: 5 additions & 31 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ channels = ["conda-forge", "pytorch", "nvidia"]
platforms = ["linux-64", "osx-arm64", "win-64", "linux-aarch64"]

[tasks]

# core dependencies for the poprox recommender code. Keep this in
# sync with the `pyproject.toml` dependencies (both in recommender
# and concepts), to prioritize using Conda packages
Expand Down Expand Up @@ -61,9 +60,7 @@ nodejs = "~=22.1"

[feature.serverless.tasks]
install-serverless = "npm ci"
start-serverless = { cmd = "npx serverless offline start --reloadHandler", depends-on = [
"install-serverless",
] }
start-serverless = { cmd = "npx serverless offline start --reloadHandler", depends-on = ["install-serverless"] }

# general development dependencies
[feature.dev.dependencies]
Expand Down Expand Up @@ -118,9 +115,7 @@ poprox-recommender = { path = ".", editable = true }

[feature.test.tasks]
test = { cmd = "pytest tests", depends-on = ["install-serverless"] }
test-cov = { cmd = "coverage run -m pytest tests", depends-on = [
"install-serverless",
] }
test-cov = { cmd = "coverage run -m pytest tests", depends-on = ["install-serverless"] }

# tooling for code validation
[feature.lint.dependencies]
Expand All @@ -146,33 +141,12 @@ libblas = { build = "*mkl*" }
[environments]
default = { features = ["data"], solve-group = "main" }
production = { features = ["production"] }
pkg = { features = [
"pkg",
"data",
"serverless",
], no-default-feature = true, solve-group = "main" }
pkg = { features = ["pkg", "data", "serverless"], no-default-feature = true, solve-group = "main" }
test = { features = ["test", "data", "serverless"], solve-group = "main" }
# environment for just getting & processing the data
data = { features = ["data"], no-default-feature = true, solve-group = "main" }
lint = { features = ["lint"], solve-group = "main" }
eval = { features = ["data", "eval"], solve-group = "main" }
eval-cuda = { features = ["data", "eval", "cuda"], solve-group = "cuda" }
dev = { features = [
"dev",
"meta",
"test",
"lint",
"data",
"eval",
"serverless",
], solve-group = "main" }
dev-cuda = { features = [
"dev",
"meta",
"test",
"lint",
"data",
"eval",
"serverless",
"cuda",
], solve-group = "cuda" }
dev = { features = ["dev", "meta", "test", "lint", "data", "eval", "serverless"], solve-group = "main" }
dev-cuda = { features = ["dev", "meta", "test", "lint", "data", "eval", "serverless", "cuda"], solve-group = "cuda" }

0 comments on commit 4c4bb21

Please sign in to comment.