diff --git a/lib/ansible/modules/__init__.py b/lib/ansible/modules/__init__.py index ae8ccff595..e69de29bb2 100644 --- a/lib/ansible/modules/__init__.py +++ b/lib/ansible/modules/__init__.py @@ -1,20 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type diff --git a/test/sanity/code-smell/boilerplate.sh b/test/sanity/code-smell/boilerplate.sh index f31179081f..87fb8c92d2 100755 --- a/test/sanity/code-smell/boilerplate.sh +++ b/test/sanity/code-smell/boilerplate.sh @@ -4,6 +4,7 @@ metaclass1=$(find ./bin -type f -exec grep -HL '__metaclass__ = type' \{\} \; ) future1=$(find ./bin -type f -exec grep -HL 'from __future__ import (absolute_import, division, print_function)' \{\} \;) metaclass2=$(find ./lib/ansible -path ./lib/ansible/modules/core -prune \ + -o -path ./lib/ansible/modules/__init__.py \ -o -path ./lib/ansible/modules/extras -prune \ -o -path ./lib/ansible/module_utils -prune \ -o -path ./lib/ansible/compat/six/_six.py -prune \ @@ -11,6 +12,7 @@ metaclass2=$(find ./lib/ansible -path ./lib/ansible/modules/core -prune \ -o -name '*.py' -exec grep -HL '__metaclass__ = type' \{\} \;) future2=$(find ./lib/ansible -path ./lib/ansible/modules/core -prune \ + -o -path ./lib/ansible/modules/__init__.py \ -o -path ./lib/ansible/modules/extras -prune \ -o -path ./lib/ansible/module_utils -prune \ -o -path ./lib/ansible/compat/six/_six.py -prune \ diff --git a/test/sanity/code-smell/empty-init.sh b/test/sanity/code-smell/empty-init.sh new file mode 100755 index 0000000000..cdfe71584f --- /dev/null +++ b/test/sanity/code-smell/empty-init.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +found='' + +for path in lib/ansible/modules/ test/units/; do + files=$(find "${path}" -name __init__.py -size '+0') + + if [ "${files}" ]; then + echo "${files}" + found=1 + fi +done + +if [ "${found}" ]; then + echo "One or more __init__.py file(s) listed above are non-empty." + exit 1 +fi diff --git a/test/units/__init__.py b/test/units/__init__.py index e7489db6fb..e69de29bb2 100644 --- a/test/units/__init__.py +++ b/test/units/__init__.py @@ -1,5 +0,0 @@ - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/errors/__init__.py b/test/units/errors/__init__.py index 20207b272d..e69de29bb2 100644 --- a/test/units/errors/__init__.py +++ b/test/units/errors/__init__.py @@ -1,22 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - - diff --git a/test/units/executor/__init__.py b/test/units/executor/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/executor/__init__.py +++ b/test/units/executor/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/inventory/__init__.py b/test/units/inventory/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/inventory/__init__.py +++ b/test/units/inventory/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/mock/__init__.py b/test/units/mock/__init__.py index ae8ccff595..e69de29bb2 100644 --- a/test/units/mock/__init__.py +++ b/test/units/mock/__init__.py @@ -1,20 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type diff --git a/test/units/module_utils/__init__.py b/test/units/module_utils/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/module_utils/__init__.py +++ b/test/units/module_utils/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/parsing/__init__.py b/test/units/parsing/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/parsing/__init__.py +++ b/test/units/parsing/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/parsing/utils/__init__.py b/test/units/parsing/utils/__init__.py index d3d562f5d3..e69de29bb2 100644 --- a/test/units/parsing/utils/__init__.py +++ b/test/units/parsing/utils/__init__.py @@ -1,21 +0,0 @@ -# (c) 2016, James Cammarata -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/parsing/vault/__init__.py b/test/units/parsing/vault/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/parsing/vault/__init__.py +++ b/test/units/parsing/vault/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/playbook/__init__.py b/test/units/playbook/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/playbook/__init__.py +++ b/test/units/playbook/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/plugins/__init__.py b/test/units/plugins/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/plugins/__init__.py +++ b/test/units/plugins/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/plugins/action/__init__.py b/test/units/plugins/action/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/plugins/action/__init__.py +++ b/test/units/plugins/action/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/plugins/cache/__init__.py b/test/units/plugins/cache/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/plugins/cache/__init__.py +++ b/test/units/plugins/cache/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/plugins/callback/__init__.py b/test/units/plugins/callback/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/plugins/callback/__init__.py +++ b/test/units/plugins/callback/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/plugins/connections/__init__.py b/test/units/plugins/connections/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/plugins/connections/__init__.py +++ b/test/units/plugins/connections/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/plugins/filter/__init__.py b/test/units/plugins/filter/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/plugins/filter/__init__.py +++ b/test/units/plugins/filter/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/plugins/inventory/__init__.py b/test/units/plugins/inventory/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/plugins/inventory/__init__.py +++ b/test/units/plugins/inventory/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/plugins/lookup/__init__.py b/test/units/plugins/lookup/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/plugins/lookup/__init__.py +++ b/test/units/plugins/lookup/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/plugins/shell/__init__.py b/test/units/plugins/shell/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/plugins/shell/__init__.py +++ b/test/units/plugins/shell/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/plugins/strategies/__init__.py b/test/units/plugins/strategies/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/plugins/strategies/__init__.py +++ b/test/units/plugins/strategies/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/plugins/vars/__init__.py b/test/units/plugins/vars/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/plugins/vars/__init__.py +++ b/test/units/plugins/vars/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/template/__init__.py b/test/units/template/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/template/__init__.py +++ b/test/units/template/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/units/vars/__init__.py b/test/units/vars/__init__.py index 785fc45992..e69de29bb2 100644 --- a/test/units/vars/__init__.py +++ b/test/units/vars/__init__.py @@ -1,21 +0,0 @@ -# (c) 2012-2014, Michael DeHaan -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . - -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - diff --git a/test/utils/shippable/code-smell.sh b/test/utils/shippable/code-smell.sh index ab5a555d3a..a8407d4540 100755 --- a/test/utils/shippable/code-smell.sh +++ b/test/utils/shippable/code-smell.sh @@ -22,6 +22,7 @@ test/sanity/code-smell/boilerplate.sh test/sanity/code-smell/required-and-default-attributes.sh test/sanity/code-smell/shebang.sh test/sanity/code-smell/line-endings.sh +test/sanity/code-smell/empty-init.sh shellcheck \ test/integration/targets/*/*.sh \