pyladies_generator.py emitindo warning do YAML

Open
#193 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
python
Domain
build-system

Research direction

Start at line 34 of pyladies_generator.py, where yaml.load(html) produces the reported YAMLLoadWarning. Read the linked PyYAML guidance and inspect how this generator loads the HTML. Done means the generator no longer emits this warning while preserving its existing behavior.

Written by the indexing model from the issue text.

Description

amigável para iniciantes código

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

Dominant language
Python
Stars
178
Forks
168
Avg merge
30m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pythonbrasil/wiki

All issues in pythonbrasil/wiki

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.