Skip to content

Commit a199678

Browse files
authored
Merge pull request #48 from AMYPAD/bump-deps
next release v5.0.1
2 parents 01a42d4 + 2e54c05 commit a199678

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
test:
1919
if: github.event_name != 'pull_request' || !contains('OWNER,MEMBER,COLLABORATOR', github.event.pull_request.author_association)
2020
name: py${{ matrix.python }}
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-${{ matrix.python == 3.7 && '22.04' || 'latest' }}
2222
strategy:
2323
matrix:
2424
python: [3.7, 3.12]

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ default_language_version:
33
python: python3
44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v4.6.0
6+
rev: v5.0.0
77
hooks:
88
- id: check-added-large-files
99
- id: check-case-conflict
@@ -27,7 +27,7 @@ repos:
2727
types: [text]
2828
exclude: ^(.pre-commit-config.yaml|.github/workflows/test.yml)$
2929
- repo: https://github.com/PyCQA/flake8
30-
rev: 7.1.0
30+
rev: 7.1.1
3131
hooks:
3232
- id: flake8
3333
args: [-j8]
@@ -40,18 +40,18 @@ repos:
4040
- flake8-pyproject
4141
- flake8-string-format
4242
- repo: https://github.com/pre-commit/mirrors-mypy
43-
rev: v1.11.0
43+
rev: v1.14.1
4444
hooks:
4545
- id: mypy
4646
additional_dependencies: [types-setuptools]
4747
- repo: https://github.com/google/yapf
48-
rev: v0.40.2
48+
rev: v0.43.0
4949
hooks:
5050
- id: yapf
5151
args: [-i]
5252
additional_dependencies: [toml]
5353
- repo: https://github.com/PyCQA/isort
54-
rev: 5.13.2
54+
rev: 6.0.0
5555
hooks:
5656
- id: isort
5757
- repo: https://github.com/doublify/pre-commit-clang-format

cuvec/include/cuvec.cuh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ template <class T> struct CuAlloc {
3838
#if __cplusplus > 201703L
3939
[[nodiscard]]
4040
#endif
41-
T
42-
*
43-
allocate(std::size_t n) {
41+
T *allocate(std::size_t n) {
4442
if (n > std::numeric_limits<std::size_t>::max() / sizeof(T)) throw std::bad_alloc();
4543

4644
T *p;

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools_scm>=7", "scikit-build-core[pyproject]>=0.5", "swig>=4", "pybind11"]
2+
requires = ["setuptools_scm>=7", "scikit-build-core[pyproject]>=0.5", "swig>=4,!=4.3", "pybind11"]
33
build-backend = "scikit_build_core.build"
44

55
[tool.scikit-build]

0 commit comments

Comments
 (0)