improve: extract method for safe loading yaml file and avoid using PyYaml's FullLoader (#4031)

This commit is contained in:
Bowen Liang 2024-05-24 12:08:12 +08:00 committed by GitHub
commit 3fda2245a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 190 additions and 62 deletions

View file

@ -14,6 +14,7 @@ select = [
"I", # isort rules
"UP", # pyupgrade rules
"RUF019", # unnecessary-key-check
"S506", # unsafe-yaml-load
]
ignore = [
"F403", # undefined-local-with-import-star