Skip to content

Commit

Permalink
Add pre-commit suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
nv-rliu committed Oct 30, 2024
1 parent 71b3b5b commit 80e2260
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
8 changes: 1 addition & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,7 @@ repos:
types_or: [python, rst, markdown]
additional_dependencies: [tomli]
files: ^(nx_cugraph|docs)/
args: ["-L thirdparty"]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v16.0.6
hooks:
- id: clang-format
types_or: [c, c++, cuda]
args: ["-fallback-style=none", "-style=file", "-i"]
args: ["-L thirdparty,coo,COO,numer"]
- repo: https://github.com/rapidsai/pre-commit-hooks
rev: v0.4.0
hooks:
Expand Down
6 changes: 3 additions & 3 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ files:
- test_notebook
py_build_nx_cugraph:
output: pyproject
pyproject_dir: python/nx-cugraph
pyproject_dir: .
extras:
table: build-system
includes:
- python_build_rapids
- python_build_wheel
py_run_nx_cugraph:
output: pyproject
pyproject_dir: python/nx-cugraph
pyproject_dir: .
extras:
table: project
includes:
Expand All @@ -53,7 +53,7 @@ files:
- python_run_nx_cugraph
py_test_nx_cugraph:
output: pyproject
pyproject_dir: python/nx-cugraph
pyproject_dir: .
extras:
table: project.optional-dependencies
key: test
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ requires = [
"rapids-build-backend>=0.3.1,<0.4.0.dev0",
"setuptools>=61.0.0",
"wheel",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`.
build-backend = "rapids_build_backend.build"

[project]
Expand Down Expand Up @@ -36,7 +36,7 @@ dependencies = [
"networkx>=3.0",
"numpy>=1.23,<3.0a0",
"pylibcugraph==24.12.*,>=0.0.0a0",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`.

[project.optional-dependencies]
test = [
Expand All @@ -48,7 +48,7 @@ test = [
"pytest-mpl",
"pytest-xdist",
"scipy",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`.

[project.urls]
Homepage = "https://github.com/rapidsai/nx-cugraph"
Expand Down

0 comments on commit 80e2260

Please sign in to comment.