Skip to content

Commit 9728955

Browse files
committed
review changes
1 parent c2a5048 commit 9728955

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repos:
44
hooks:
55
- id: isort
66
- repo: https://github.com/ambv/black
7-
rev: 19.10b0
7+
rev: stable
88
hooks:
99
- id: black
1010
- repo: https://gitlab.com/pycqa/flake8

python/.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2018, NVIDIA CORPORATION.
1+
# Copyright (c) 2020, NVIDIA CORPORATION.
22

33
[flake8]
44
exclude = __init__.py

python/setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626
CUDA_HOME = os.path.dirname(os.path.dirname(path_to_cuda_gdb))
2727

2828
if not os.path.isdir(CUDA_HOME):
29-
raise OSError(
30-
"Invalid CUDA_HOME: " f"directory does not exist: {CUDA_HOME}"
31-
)
29+
raise OSError(f"Invalid CUDA_HOME: directory does not exist: {CUDA_HOME}")
3230

3331
cuda_include_dir = os.path.join(CUDA_HOME, "include")
3432

0 commit comments

Comments
 (0)