diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 39417d4..4c8291a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -47,5 +47,6 @@ repos: - yaml - toml - json + exclude: ^models/ additional_dependencies: - dprint diff --git a/pixi.toml b/pixi.toml index 2e6d76d..c70a487 100644 --- a/pixi.toml +++ b/pixi.toml @@ -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 @@ -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] @@ -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] @@ -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" }