From d66f271cad73d5aa87e81fbf357dae530a7e4d3a Mon Sep 17 00:00:00 2001 From: yushangbin Date: Tue, 15 Nov 2016 01:09:20 -0800 Subject: [PATCH] Remove unused pylintrc We didn't use it in the gate and it's unmaintained. Clean that. Change-Id: I082659b8715821db9313f70b37dc1f200244c1ee --- .gitignore | 2 -- .pylintrc | 49 ------------------------------------------- test-requirements.txt | 1 - tox.ini | 4 ---- 4 files changed, 56 deletions(-) delete mode 100644 .pylintrc diff --git a/.gitignore b/.gitignore index cedd7c079..1d2a7b05a 100644 --- a/.gitignore +++ b/.gitignore @@ -45,8 +45,6 @@ ChangeLog .DS_Store etc/*.conf etc/mistral.conf.sample -tools/lintstack.head.py -tools/pylint_exceptions #Linux swap file *.swp diff --git a/.pylintrc b/.pylintrc deleted file mode 100644 index 222c48fd7..000000000 --- a/.pylintrc +++ /dev/null @@ -1,49 +0,0 @@ -# The format of this file isn't really documented; just use --generate-rcfile -[MASTER] -# Add to the black list. It should be a base name, not a -# path. You may set this option multiple times. -ignore=tests -ignore=openstack - -[Messages Control] -# NOTE(justinsb): We might want to have a 2nd strict pylintrc in future -# C0111: Don't require docstrings on every method -# W0511: TODOs in code comments are fine. -# W0142: *args and **kwargs are fine. -# W0622: Redefining id is fine. -# W0703: Catch "Exception". -disable=C0111,W0511,W0142,W0622,W0703 - -[Basic] -# Variable names can be 1 to 31 characters long, with lowercase and underscores -variable-rgx=[a-z_][a-z0-9_]{0,30}$ - -# Argument names can be 2 to 31 characters long, with lowercase and underscores -argument-rgx=[a-z_][a-z0-9_]{1,30}$ - -# Type attributes names can be 2 to 31 characters long, with lowercase and underscores -attr-rgx=[a-z_][a-z0-9_]{1,30}$ - -# Method names shold be at least 3 characters long and be lowercased with underscores -method-rgx=([a-z_][a-z0-9_]{1,30}|setUp|tearDown)$ - -# Module names matching savanna-* are ok (files in bin/) -module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(savanna-[a-z0-9_-]+))$ - -# Don't require docstrings on tests. -no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$ - -[Design] -max-public-methods=100 -min-public-methods=0 -max-args=6 - -[Variables] - -# List of additional names supposed to be defined in builtins. Remember that -# you should avoid to define new builtins when possible. -# _ is used by our localization -additional-builtins=_ - -[TYPECHECK] -generated-members=query,node_template,status_code,data diff --git a/test-requirements.txt b/test-requirements.txt index 9fae28440..1860e341e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,7 +8,6 @@ nose # LGPL oslosphinx>=4.7.0 # Apache-2.0 oslotest>=1.10.0 # Apache-2.0 pyflakes==0.8.1 # MIT -pylint==1.4.5 # GPLv2 requests-mock>=1.1 # Apache-2.0 sphinx!=1.3b1,<1.4,>=1.2.1 # BSD sphinxcontrib-httpdomain # BSD diff --git a/tox.ini b/tox.ini index 0666285bc..54e39b621 100644 --- a/tox.ini +++ b/tox.ini @@ -50,10 +50,6 @@ commands = {posargs} setenv = PYTHONHASHSEED=0 commands = python setup.py build_sphinx -[testenv:pylint] -setenv = VIRTUAL_ENV={envdir} -commands = bash tools/lintstack.sh - [testenv:releasenotes] commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html