Skip to content

Commit

Permalink
Run pre-commit autoupdate, rename decorator test file (#191)
Browse files Browse the repository at this point in the history
* Run pre-commit autoupdate, add test dependencies

pytest-memray will be used to track memory usage for benchmark families
when switching to iterators.

* Rename to test_core.py

This is more in line with the actual filename in nnbench.

* Exclude memray on Windows
  • Loading branch information
nicholasjng authored Dec 18, 2024
1 parent 240cd2e commit 926459d
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ repos:
types_or: [ python, pyi ]
args: [--ignore-missing-imports, --explicit-package-bases]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.1
rev: v0.8.3
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.5.5
rev: 0.5.10
hooks:
- id: uv-lock
name: Lock project dependencies
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@ Discussions = "https://github.com/aai-institute/nnbench/discussions"
[project.optional-dependencies]
dev = [
"build>=1.0.0",
"fsspec",
"pre-commit>=3.3.3",
"psutil",
"pyarrow",
"pytest>=7.4.0",
"fsspec",
"pytest-memray; platform_system != 'Windows'",
]
docs = [
"black",
Expand Down
File renamed without changes.
110 changes: 110 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 926459d

Please sign in to comment.