Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix new TOX errors #1660

Closed
allmightyspiff opened this issue Jun 7, 2022 · 0 comments · Fixed by #1661
Closed

Fix new TOX errors #1660

allmightyspiff opened this issue Jun 7, 2022 · 0 comments · Fixed by #1661
Assignees
Labels

Comments

@allmightyspiff
Copy link
Member

$ tox -e analysis
GLOB sdist-make: C:\Users\allmi\Source\softlayer-python\setup.py
analysis recreate: C:\Users\allmi\Source\softlayer-python\.tox\analysis
analysis installdeps: -rC:\Users\allmi\Source\softlayer-python/tools/test-requirements.txt, hacking, pylint
analysis inst: C:\Users\allmi\Source\softlayer-python\.tox\.tmp\package\1\SoftLayer-6.0.2.zip
analysis installed: alabaster==0.7.12,astroid==2.11.5,atomicwrites==1.4.0,attrs==21.4.0,Babel==2.10.1,certifi==2022.5.18.1,charset-normalizer==2.0.12,click==8.1.3,colorama==0.4.4,commonmark==0.9.1,coverage==6.4.1,coveralls==3.3.1,dill==0.3.5.1,distlib==0.3.4,docopt==0.6.2,docutils==0.18.1,filelock==3.7.1,flake8==3.8.4,hacking==4.1.0,idna==3.3,imagesize==1.3.0,iniconfig==1.1.1,isodate==0.6.1,isort==5.10.1,Jinja2==3.1.2,lazy-object-proxy==1.7.1,lxml==4.9.0,MarkupSafe==2.1.1,mccabe==0.6.1,mock==4.0.3,packaging==21.3,platformdirs==2.5.2,pluggy==1.0.0,prettytable==3.3.0,prompt-toolkit==3.0.29,py==1.11.0,pycodestyle==2.6.0,pyflakes==2.2.0,Pygments==2.12.0,pylint==2.14.1,pyparsing==3.0.9,pytest==7.1.2,pytest-cov==3.0.0,pytz==2022.1,requests==2.27.1,requests-file==1.5.1,requests-toolbelt==0.9.1,rich==12.3.0,six==1.16.0,snowballstemmer==2.2.0,SoftLayer @ file:///C:/Users/allmi/Source/softlayer-python/.tox/.tmp/package/1/SoftLayer-6.0.2.zip,softlayer-zeep==5.0.0,Sphinx==5.0.1,sphinxcontrib-applehelp==1.0.2,sphinxcontrib-devhelp==1.0.2,sphinxcontrib-htmlhelp==2.0.0,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==1.0.3,sphinxcontrib-serializinghtml==1.1.5,toml==0.10.2,tomli==2.0.1,tomlkit==0.11.0,tox==3.25.0,urllib3==1.26.9,virtualenv==20.14.1,wcwidth==0.2.5,wrapt==1.14.1
analysis run-test-pre: PYTHONHASHSEED='178'
analysis run-test: commands[0] | flake8 SoftLayer tests
analysis run-test: commands[1] | pylint SoftLayer -r n --ignore=tests,fixtures -d too-many-locals -d star-args -d redefined-variable-type -d locally-disabled -d no-else-return -d len-as-condition -d useless-object-inheritance -d consider-using-in -d consider-using-dict-comprehension -d useless-import-alias -d consider-using-f-string --max-args=25 --max-branches=20 --max-statements=65 --min-public-methods=0 --max-public-methods=35 --min-similarity-lines=30 --max-line-length=120
************* Module Command line
Command line:1:0: R0022: Useless option value for '-d', 'star-args' was removed from pylint, see https://pylint.pycqa.org/en/latest/whatsnew/1/1.4.html#what-s-new-in-pylint-1-4-3. (useless-option-value)
Command line:1:0: W0012: Unknown option value for '-d', expected a valid pylint message and got 'redefined-variable-type' (unknown-option-value)
************* Module SoftLayer.auth
SoftLayer\auth.py:8:0: W0012: Unknown option value for 'disable', expected a valid pylint message and got 'no-self-use' (unknown-option-value)
************* Module SoftLayer.CLI.environment
SoftLayer\CLI\environment.py:20:0: W0012: Unknown option value for 'disable', expected a valid pylint message and got 'no-self-use' (unknown-option-value)
************* Module SoftLayer.managers.account
SoftLayer\managers\account.py:15:0: W0012: Unknown option value for 'disable', expected a valid pylint message and got 'no-self-use' (unknown-option-value)
************* Module SoftLayer.managers.cdn
SoftLayer\managers\cdn.py:12:0: W0012: Unknown option value for 'disable', expected a valid pylint message and got 'no-self-use' (unknown-option-value)
************* Module SoftLayer.managers.dedicated_host
SoftLayer\managers\dedicated_host.py:16:0: W0012: Unknown option value for 'disable', expected a valid pylint message and got 'no-self-use' (unknown-option-value)
************* Module SoftLayer.managers.email
SoftLayer\managers\email.py:13:0: W0012: Unknown option value for 'disable', expected a valid pylint message and got 'no-self-use' (unknown-option-value)
************* Module SoftLayer.managers.hardware
SoftLayer\managers\hardware.py:23:0: W0012: Unknown option value for 'disable', expected a valid pylint message and got 'no-self-use' (unknown-option-value)
************* Module SoftLayer.managers.ordering
SoftLayer\managers\ordering.py:8:0: W0012: Unknown option value for 'disable', expected a valid pylint message and got 'no-self-use' (unknown-option-value)
************* Module SoftLayer.managers.storage
SoftLayer\managers\storage.py:28:0: W0012: Unknown option value for 'disable', expected a valid pylint message and got 'no-self-use' (unknown-option-value)
************* Module SoftLayer.managers.vs
SoftLayer\managers\vs.py:31:0: W0012: Unknown option value for 'disable', expected a valid pylint message and got 'no-self-use' (unknown-option-value)
SoftLayer\managers\vs.py:363:17: C2801: Unnecessarily calls dunder method __contains__. Use in keyword. (unnecessary-dunder-call)
SoftLayer\managers\vs.py:1046:19: C2801: Unnecessarily calls dunder method __contains__. Use in keyword. (unnecessary-dunder-call)
************* Module SoftLayer.managers.vs_capacity
SoftLayer\managers\vs_capacity.py:17:0: W0012: Unknown option value for 'disable', expected a valid pylint message and got 'no-self-use' (unknown-option-value)
************* Module SoftLayer.managers.vs_placement
SoftLayer\managers\vs_placement.py:14:0: W0012: Unknown option value for 'disable', expected a valid pylint message and got 'no-self-use' (unknown-option-value)
************* Module SoftLayer.transports.transport
SoftLayer\transports\transport.py:33:0: W0012: Unknown option value for 'disable', expected a valid pylint message and got 'no-self-use' (unknown-option-value)
************* Module SoftLayer.transports.__init__
SoftLayer\transports\__init__.py:20:0: W0012: Unknown option value for 'disable', expected a valid pylint message and got 'no-self-use' (unknown-option-value)

-----------------------------------
Your code has been rated at 9.99/10

ERROR: InvocationError for command 'C:\Users\allmi\Source\softlayer-python\.tox\analysis\Scripts\pylint.EXE' SoftLayer -r n --ignore=tests,fixtures -d too-many-locals -d star-args -d redefined-variable-type -d locally-disabled -d no-else-return -d len-as-condition -d useless-object-inheritance -d consider-using-in -d consider-using-dict-comprehension -d useless-import-alias -d consider-using-f-string --max-args=25 --max-branches=20 --max-statements=65 --min-public-methods=0 --max-public-methods=35 --min-similarity-lines=30 --max-line-length=120 (exited with code 28)
___________________________________________________________________________ summary ___________________________________________________________________________
ERROR:   analysis: commands failed

@allmightyspiff allmightyspiff self-assigned this Jun 7, 2022
allmightyspiff added a commit to allmightyspiff/softlayer-python that referenced this issue Jun 7, 2022
@allmightyspiff allmightyspiff moved this to Done in Q2 2022 Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant