Skip to content

Commit

Permalink
testing sonarcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
clavedeluna committed Feb 26, 2024
1 parent e51b516 commit 7fb8cc7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ repos:
"types-PyYAML==6.0",
"types-toml~=0.10",
"types-requests~=2.13",
"lxml-stubs",
]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.2
Expand Down
5 changes: 5 additions & 0 deletions src/core_codemods/one.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from lxml import etree

parser = etree.XMLParser()
tree = etree.parse("xxe.xml", parser)
root = tree.getroot()
5 changes: 5 additions & 0 deletions src/core_codemods/two.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import lxml.etree

parser = lxml.etree.XMLParser()
tree = lxml.etree.parse("xxe.xml", parser)
root = tree.getroot()

0 comments on commit 7fb8cc7

Please sign in to comment.