Updated Pylint buildout dev-tf
authorThierry Florac <tflorac@ulthar.net>
Sat, 23 Nov 2019 01:17:56 +0100
branchdev-tf
changeset 418 55fc762a7afa
parent 417 e7e36ec88a06
child 419 05ff71a02b2d
Updated Pylint buildout
.gitlab-ci.yml
buildout.cfg
src/pyams_utils.egg-info/PKG-INFO
src/pyams_utils.egg-info/SOURCES.txt
--- a/.gitlab-ci.yml	Sat Nov 23 01:01:07 2019 +0100
+++ b/.gitlab-ci.yml	Sat Nov 23 01:17:56 2019 +0100
@@ -40,10 +40,11 @@
     stage: quality
     allow_failure: true
     script:
+        - pip install pylint-exit anybadge
         - mkdir ./pylint
-        - ./bin/pylint src/pyams_utils/ | tee ./pylint/pylint.log || ./bin/pylint-exit $?
+        - ./bin/pylint src/pyams_utils/ | tee ./pylint/pylint.log || pylint-exit $?
         - PYLINT_SCORE=$(sed -n 's/^Your code has been rated at \([-0-9.]*\)\/.*/\1/p' ./pylint/pylint.log)
-        - ./bin/anybadge --label=Pylint --file=./pylint/pylint.svg --value=$PYLINT_SCORE 2=red 4=orange 8=yellow 10=green
+        - anybadge --label=Pylint --file=./pylint/pylint.svg --value=$PYLINT_SCORE 2=red 4=orange 8=yellow 10=green
         - echo "Pylint score is $PYLINT_SCORE"
     artifacts:
         paths:
--- a/buildout.cfg	Sat Nov 23 01:01:07 2019 +0100
+++ b/buildout.cfg	Sat Nov 23 01:17:56 2019 +0100
@@ -58,8 +58,6 @@
 eggs =
     pyams_utils
     pylint
-    pylint-exit
-    anybadge
 entry-points = pylint=pylint.lint:Run
 arguments = sys.argv[1:]
 
--- a/src/pyams_utils.egg-info/PKG-INFO	Sat Nov 23 01:01:07 2019 +0100
+++ b/src/pyams_utils.egg-info/PKG-INFO	Sat Nov 23 01:17:56 2019 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pyams-utils
-Version: 0.1.34.2
+Version: 0.1.35
 Summary: Utility functions and classes for PyAMS
 Home-page: http://www.ztfy.org
 Author: Thierry Florac
@@ -47,6 +47,10 @@
         Changelog
         =========
         
+        0.1.35
+        ------
+         - Pylint code cleanup and GitLab-CI integration updates
+        
         0.1.34.2
         --------
          - correction in "generate_url" function
--- a/src/pyams_utils.egg-info/SOURCES.txt	Sat Nov 23 01:01:07 2019 +0100
+++ b/src/pyams_utils.egg-info/SOURCES.txt	Sat Nov 23 01:17:56 2019 +0100
@@ -51,13 +51,13 @@
 src/pyams_utils.egg-info/top_level.txt
 src/pyams_utils/doctests/README.txt
 src/pyams_utils/doctests/dates.txt
-src/pyams_utils/doctests/inherit.txt
 src/pyams_utils/doctests/request.txt
 src/pyams_utils/doctests/unicode.txt
 src/pyams_utils/interfaces/__init__.py
 src/pyams_utils/interfaces/data.py
 src/pyams_utils/interfaces/inherit.py
 src/pyams_utils/interfaces/intids.py
+src/pyams_utils/interfaces/pygments.py
 src/pyams_utils/interfaces/site.py
 src/pyams_utils/interfaces/size.py
 src/pyams_utils/interfaces/tales.py