cqfn / aibolit

Static Analyzer for Java Code with Machine Learning in Mind
https://pypi.org/project/aibolit/
51 stars 17 forks source link

Modify ncss #475

Closed lukyanoffpashok closed 4 years ago

lukyanoffpashok commented 4 years ago

https://pmd.github.io/latest/pmd_java_metrics_index.html

acheshkov commented 4 years ago

@rultor merge

rultor commented 4 years ago

@rultor merge

@acheshkov OK, I'll try to merge now. You can check the progress of the merge here

rultor commented 4 years ago

@rultor merge

@acheshkov @lukyanoffpashok Oops, I failed. You can see the full log here (spent 14min)

Requirement already satisfied: Pygments>=2.0 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (2.6.1)
Requirement already satisfied: docutils>=0.12 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (0.16)
Requirement already satisfied: imagesize in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (1.2.0)
Requirement already satisfied: sphinxcontrib-applehelp in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (1.0.2)
Requirement already satisfied: snowballstemmer>=1.1 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (2.0.0)
Requirement already satisfied: Jinja2>=2.3 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (2.11.2)
Requirement already satisfied: sphinxcontrib-devhelp in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (1.0.2)
Requirement already satisfied: alabaster<0.8,>=0.7 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (0.7.12)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from sphinx==2.3.1->aibolit==0.0.0) (39.0.1)
Requirement already satisfied: packaging in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (20.4)
Requirement already satisfied: sphinxcontrib-htmlhelp in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (1.0.3)
Requirement already satisfied: babel!=2.0,>=1.3 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (2.8.0)
Requirement already satisfied: sphinxcontrib-qthelp in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (1.0.3)
Requirement already satisfied: sphinxcontrib-serializinghtml in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (1.1.4)
Requirement already satisfied: retrying>=1.3.3 in /home/r/.local/lib/python3.6/site-packages (from plotly->catboost==0.22->aibolit==0.0.0) (1.3.3)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->aibolit==0.0.0) (2018.1.18)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->aibolit==0.0.0) (1.22)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->aibolit==0.0.0) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->aibolit==0.0.0) (2.6)
Requirement already satisfied: MarkupSafe>=0.23 in /home/r/.local/lib/python3.6/site-packages (from Jinja2>=2.3->sphinx==2.3.1->aibolit==0.0.0) (1.1.1)
Building wheels for collected packages: aibolit
  Building wheel for aibolit (setup.py) ... \u001b[?25l-\u0008 \u0008\\u0008 \u0008|\u0008 \u0008/\u0008 \u0008-\u0008 \u0008\\u0008 \u0008done
\u001b[?25h  Created wheel for aibolit: filename=aibolit-0.0.0-py2.py3-none-any.whl size=12093594 sha256=e316f6ef6ade3bb9922a9779c6cc6bde60b305b523a9207e685892608a8e65f0
  Stored in directory: /tmp/pip-ephem-wheel-cache-u740lf1a/wheels/6a/94/20/fb6515fe78e005049099e68caee81e4e2e53c92744d4ab767f
Successfully built aibolit
Installing collected packages: aibolit
\u001b[33m  WARNING: The script aibolit is installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
Successfully installed aibolit-0.0.0
\u001b[33mWARNING: You are using pip version 20.0.2; however, version 20.1.1 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.\u001b[0m
python3 -m flake8 aibolit test scripts setup.py --exclude scripts/target/*
python3 -m mypy aibolit
\u001b[1m\u001b[32mSuccess: no issues found in 132 source files\u001b(B\u001b[m
python3 -m coverage run -m unittest discover
..................sss................sss.............................sssssss......................................................................sssssssssssssss..........................sssssssssssss...........ss.........................................................................................................................................................
----------------------------------------------------------------------
Ran 366 tests in 14.389s

OK (skipped=43)
python3 aibolit --version
Version 1.1.2 is available, but you are using 0.0.0
aibolit 0.0.0
xcop 
python3 ./test/integration/all.py
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R rultor repo
+ cd repo
+ git push origin master
remote: error: GH006: Protected branch update failed for refs/heads/master.        
remote: error: 1 review requesting changes and 1 approving review by reviewers with write access.        
To git@github.com:yegor256/aibolit.git
 ! [remote rejected] master -> master (protected branch hook declined)
error: failed to push some refs to 'git@github.com:yegor256/aibolit.git'
container fe7147cb46ef47066eb28e4eb19b73432d75f68f0ae2325295d5de9c80130bd4 is dead
Fri Jul  3 08:18:55 CEST 2020
lukyanoffpashok commented 4 years ago

@acheshkov please merge

acheshkov commented 4 years ago

@rultor merge

rultor commented 4 years ago

@rultor merge

@acheshkov OK, I'll try to merge now. You can check the progress of the merge here

rultor commented 4 years ago

@rultor merge

@acheshkov Done! FYI, the full log is here (took me 13min)

0crat commented 4 years ago

Job gh:yegor256/aibolit#475 is not assigned, can't get performer