Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and sphuber committed Sep 5, 2023
1 parent b383aab commit 8dc546f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aiida/cmdline/commands/cmd_devel.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ def devel_check_undesired_imports():
"""
loaded_modules = 0

for modulename in ['asyncio', 'requests', 'plumpy', 'disk_objectstore', 'paramiko', 'seekpath', 'CifFile', 'ase', 'pymatgen', 'spglib', 'pymysql']:
for modulename in [
'asyncio', 'requests', 'plumpy', 'disk_objectstore', 'paramiko', 'seekpath', 'CifFile', 'ase', 'pymatgen',
'spglib', 'pymysql'
]:
if modulename in sys.modules:
echo.echo_warning(f'Detected loaded module "{modulename}"')
loaded_modules += 1
Expand Down

0 comments on commit 8dc546f

Please sign in to comment.