Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake-format yaml load warning #28

Closed
pramodk opened this issue Apr 22, 2019 · 3 comments
Closed

cmake-format yaml load warning #28

pramodk opened this issue Apr 22, 2019 · 3 comments

Comments

@pramodk
Copy link
Contributor

pramodk commented Apr 22, 2019

While using this with NMODL project, I am seeing below warning :

 2019-04-22 10:55:50 ☆  bluebrain355 in ~/workarena/repos/bbp/incubator/nocmodl/cmake-build-debug
± |pr/coding-convention-update {27} S:21 U:4 ?:46 ✗| → git commit
check-clang-format.......................................................Passed
check-cmake-format.......................................................Failed
hookid: hpc-pc-cmake-build

/usr/local/lib/python3.7/site-packages/cmake_format/__main__.py:216: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config_dict = yaml.load(config_file)
/usr/local/lib/python3.7/site-packages/cmake_format/__main__.py:216: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config_dict = yaml.load(config_file)
/usr/local/lib/python3.7/site-packages/cmake_format/__main__.py:216: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config_dict = yaml.load(config_file)
/usr/local/lib/python3.7/site-packages/cmake_format/__main__.py:216: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config_dict = yaml.load(config_file)
/usr/local/lib/python3.7/site-packages/cmake_format/__main__.py:216: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config_dict = yaml.load(config_file)
/usr/local/lib/python3.7/site-packages/cmake_format/__main__.py:216: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config_dict = yaml.load(config_file)
error: improper CMake file formatting: /Users/kumbhar/workarena/repos/bbp/incubator/nocmodl/src/language/CMakeLists.txt
/usr/local/lib/python3.7/site-packages/cmake_format/__main__.py:216: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config_dict = yaml.load(config_file)
/usr/local/lib/python3.7/site-packages/cmake_format/__main__.py:216: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config_dict = yaml.load(config_file)

Related to this comment.

@tristan0x
Copy link
Member

I submitted a pull-request 3 weeks ago about it.
cheshirekow/cmake_format#101

@tristan0x
Copy link
Member

I submitted a pull-request 3 weeks ago about it.
cheshirekow/cmake_format#101

the change is now part of cmake_format 0.6.0, used by hpc-coding-conventions

@pramodk
Copy link
Contributor Author

pramodk commented Dec 12, 2019

Great! Thanks Tristan!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants