Skip to content

Commit 5b129c8

Browse files
committed
Commented out pylint ingnore temporarily
1 parent 53ad383 commit 5b129c8

File tree

7 files changed

+28
-8
lines changed

7 files changed

+28
-8
lines changed

.gitignore

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
11
/.idea/
22
/docs/build/
3-
**/__pycache__/
3+
**/__pycache__/
4+
5+
.data/
6+
hosts
7+
input/default.yml
8+
input/project_default/
9+
log/
10+
omnia_inventory/
11+
pulp/
12+
pxe_mapping_file.csv
13+
services/
14+
squid/
15+
ssh_config/
16+
tmp/
17+
.postgres/
18+
pcs/
19+
provision/

common/library/module_utils/input_validation/validation_flows/common_validation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# pylint: disable=unused-import,too-many-arguments,too-many-locals,too-many-branches,too-many-statements,unused-argument, too-many-positional-arguments
14+
1515
"""
1616
This module contains functions for validating common configuration files.
1717
"""
18+
1819
import json
1920
from ansible.module_utils.input_validation.common_utils import (
2021
validation_utils,

common/library/module_utils/input_validation/validation_flows/high_availability_validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# pylint: disable=too-many-arguments,too-many-locals,too-many-positional-arguments
14+
1515
"""
1616
This module contains functions for validating high availability configuration.
1717
"""

common/library/module_utils/input_validation/validation_flows/local_repo_validation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# limitations under the License.
1414

1515
import json
16-
import os
1716
from ansible.module_utils.input_validation.common_utils import validation_utils
1817
from ansible.module_utils.input_validation.common_utils import config
1918
from ansible.module_utils.input_validation.common_utils import en_us_validation_msg
@@ -23,12 +22,13 @@
2322
create_file_path = validation_utils.create_file_path
2423

2524
# Below is a validation function for each file in the input folder
26-
def validate_local_repo_config(input_file_path, data, logger, module, omnia_base_dir, module_utils_base, project_name):
25+
def validate_local_repo_config(
26+
input_file_path, data, logger, module, omnia_base_dir, module_utils_base, project_name):
2727
# check to make sure associated os info is filled out
2828
#keeping this function for future if any additional check srequired
2929
errors = []
3030
software_config_file_path = create_file_path(input_file_path, file_names["software_config"])
3131
software_config_json = json.load(open(software_config_file_path, "r"))
3232
cluster_os_type = software_config_json["cluster_os_type"]
3333
omnia_repo_url_rhel = data["omnia_repo_url_rhel"]
34-
return errors
34+
return errors

common/library/module_utils/input_validation/validation_flows/provision_validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# pylint: disable=import-error,too-many-arguments,unused-argument,too-many-locals,too-many-positional-arguments
14+
1515
"""
1616
This module contains functions for validating provision configuration.
1717
"""

common/library/module_utils/input_validation/validation_flows/roles_validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# pylint: disable=unused-argument,too-many-locals,too-many-branches
14+
1515
"""
1616
This module contains functions for validating roles configuration.
1717
"""

common/library/module_utils/input_validation/validation_flows/scheduler_validation.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14+
"""
15+
This module contains functions for validating scheduler configuration.
16+
"""
1417

1518
from ansible.module_utils.input_validation.common_utils import validation_utils
1619

0 commit comments

Comments
 (0)