Skip to content

Commit 366c9da

Browse files
Merge pull request #78 from torch-points3d/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 5ac67ee + 10b4aee commit 366c9da

File tree

14 files changed

+19
-18
lines changed

14 files changed

+19
-18
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
// "postCreateCommand": "pip install -r requirements.txt",
2424
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
2525
// "remoteUser": "vscode"
26-
}
26+
}

.github/workflows/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ on:
22
push:
33
tags:
44
- 'v*'
5-
5+
66
name: Deploy
77

88
jobs:

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ exclude: "build|egg-info|dist"
22

33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v1.2.3
5+
rev: v4.0.1
66
hooks:
77
- id: trailing-whitespace
88
- id: check-added-large-files
99
- id: end-of-file-fixer
1010

11-
- repo: https://github.com/ambv/black
12-
rev: stable
11+
- repo: https://github.com/psf/black
12+
rev: 21.7b0
1313
hooks:
1414
- id: black
1515
language_version: python3.7

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ include pyproject.toml
55

66
recursive-exclude test *
77
recursive-include cpu *
8-
recursive-include cuda *
8+
recursive-include cuda *
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
```
22
./build_conda.sh 3.9 1.9.0 cu111 # python, pytorch and cuda version
3-
```
3+
```

cpu/include/cloud.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@ inline std::ostream& operator<<(std::ostream& os, const PointCloud<scalar_t>& P)
104104
os << "[" << p[0] << ", " << p[1] << ", " << p[2] << "];";
105105
}
106106
return os;
107-
}
107+
}

cpu/include/fps.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#pragma once
22
#include <torch/extension.h>
3-
at::Tensor fps(at::Tensor points, const int nsamples, bool random = true);
3+
at::Tensor fps(at::Tensor points, const int nsamples, bool random = true);

cpu/include/interpolate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
at::Tensor knn_interpolate(at::Tensor features, at::Tensor idx, at::Tensor weight);
55

66
at::Tensor knn_interpolate_grad(at::Tensor grad_out, at::Tensor idx, at::Tensor weight,
7-
const int m);
7+
const int m);

cpu/include/knn.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#pragma once
22
#include <torch/extension.h>
3-
std::pair<at::Tensor, at::Tensor> dense_knn(at::Tensor support, at::Tensor query, int k);
3+
std::pair<at::Tensor, at::Tensor> dense_knn(at::Tensor support, at::Tensor query, int k);

cpu/src/fps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ at::Tensor fps(at::Tensor points, const int nsamples, bool random)
3434
}
3535
}
3636
return out;
37-
}
37+
}

0 commit comments

Comments
 (0)