Skip to content

Commit

Permalink
Fix Codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuelopez-ansys committed May 3, 2024
1 parent 8553172 commit e429f04
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion _unittest/test_01_toolkit_icons.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import os
import xml.etree.ElementTree as ET

import defusedxml.ElementTree as ET
import defusedxml.minidom

defusedxml.defuse_stdlib()


import pytest

Expand Down
4 changes: 2 additions & 2 deletions pyaedt/workflows/customize_automation_tab.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@
import shutil
import subprocess # nosec
import sys
import xml.etree.ElementTree as ET # nosec

import defusedxml.ElementTree as ET
import defusedxml.minidom

defusedxml.defuse_stdlib()

import warnings
from xml.dom.minidom import parseString

from defusedxml.ElementTree import ParseError
from defusedxml.minidom import parseString

from pyaedt import is_linux
from pyaedt.generic.general_methods import read_toml
Expand Down

0 comments on commit e429f04

Please sign in to comment.