apache / kibble-1

Apache Kibble - a tool to collect, aggregate and visualize data about any software project
https://kibble.apache.org/
Apache License 2.0
59 stars 28 forks source link

Fix deprecation warning for yaml.load() #76

Closed turbaszek closed 4 years ago

turbaszek commented 4 years ago

Description: In multiple places we use yaml.load() which rises:

YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.

We should fix this deprecation warning.

midhun1998 commented 4 years ago

Hi @turbaszek . I would like to take up this issue if it's still open.

turbaszek commented 4 years ago

Great @midhun1998 ! I assigned you

midhun1998 commented 4 years ago

Thank you @turbaszek . I did a bit of study and I would like to run my solution by you before I implement it. I think replacing yaml.load() with yaml.safe_load()should fix the warnings.

turbaszek commented 4 years ago

@midhun1998 sounds like a good solution to me 👍