aristanetworks / avd

Arista Validated Designs
https://avd.arista.com
Apache License 2.0
285 stars 202 forks source link

CI: Ignored warning of useless object instantiation of "Tablesort" #4084

Closed MaheshGSLAB closed 3 months ago

MaheshGSLAB commented 3 months ago

Change Summary

Ignored warning of useless object instantiation of "Tablesort".

Related Issue(s)

Fixes # https://sonarcloud.io/project/issues?fileUuids=AY-cQzMFgsw4bnlWrqY4&resolved=false&id=aristanetworks_avd&open=AY-cQzlzgsw4bnlWrqf6&tab=code

Component(s) name

arista.avd.<role-name>

Proposed changes

Added ignore of useless object instantiation of "Tablesort".

How to test

NA

Checklist

User Checklist

Repository Checklist

github-actions[bot] commented 3 months ago

Review docs on Read the Docs

To test this pull request:

# Create virtual environment for this testing below the current directory
python -m venv test-avd-pr-4084
# Activate the virtual environment
source test-avd-pr-4084/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/MaheshGSLAB/ansible-avd.git@tablesort#subdirectory=python-avd" --force
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/MaheshGSLAB/ansible-avd.git#/ansible_collections/arista/avd/,tablesort --force
# Optional: Install AVD examples
cd test-avd-pr-4084
ansible-playbook arista.avd.install_examples
sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud