File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1- # Copyright (c) 2018 , NVIDIA CORPORATION.
1+ # Copyright (c) 2020 , NVIDIA CORPORATION.
22
33[flake8]
44exclude = __init__.py
Original file line number Diff line number Diff line change 2626 CUDA_HOME = os .path .dirname (os .path .dirname (path_to_cuda_gdb ))
2727
2828if 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
3331cuda_include_dir = os .path .join (CUDA_HOME , "include" )
3432
You can’t perform that action at this time.
0 commit comments