Fix the setup.py warnings
This commit is contained in:
parent
3fe50d72e1
commit
f8ae70765f
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,7 +2,7 @@
|
||||
*.swp
|
||||
build
|
||||
dist
|
||||
heat.egg-info
|
||||
heat_jeos.egg-info/
|
||||
heat/vcsversion.py
|
||||
tags
|
||||
*.log
|
||||
|
30
MANIFEST.in
30
MANIFEST.in
@ -2,19 +2,17 @@ include LICENSE
|
||||
include README.rst
|
||||
include MANIFEST.in pylintrc
|
||||
include babel.cfg
|
||||
include heat/jeos/F16-i386-gold-jeos.tdl
|
||||
include heat/jeos/F17-i386-gold-jeos.tdl
|
||||
include heat/jeos/F16-i386-cfntools-jeos.tdl
|
||||
include heat/jeos/F17-i386-cfntools-jeos.tdl
|
||||
include heat/jeos/F16-x86_64-gold-jeos.tdl
|
||||
include heat/jeos/F17-x86_64-gold-jeos.tdl
|
||||
include heat/jeos/F16-x86_64-cfntools-jeos.tdl
|
||||
include heat/jeos/F17-x86_64-cfntools-jeos.tdl
|
||||
include heat/jeos/U10-amd64-cfntools-jeos.tdl
|
||||
include heat/cfntools/cfn-init
|
||||
include heat/cfntools/cfn-hup
|
||||
include heat/cfntools/cfn-signal
|
||||
include heat/cfntools/cfn-get-metadata
|
||||
include heat/cfntools/cfn-push-stats
|
||||
include heat/cloudinit/config
|
||||
include heat/cloudinit/part-handler.py
|
||||
include heat_jeos/jeos/F16-i386-gold-jeos.tdl
|
||||
include heat_jeos/jeos/F17-i386-gold-jeos.tdl
|
||||
include heat_jeos/jeos/F16-i386-cfntools-jeos.tdl
|
||||
include heat_jeos/jeos/F17-i386-cfntools-jeos.tdl
|
||||
include heat_jeos/jeos/F16-x86_64-gold-jeos.tdl
|
||||
include heat_jeos/jeos/F17-x86_64-gold-jeos.tdl
|
||||
include heat_jeos/jeos/F16-x86_64-cfntools-jeos.tdl
|
||||
include heat_jeos/jeos/F17-x86_64-cfntools-jeos.tdl
|
||||
include heat_jeos/jeos/U10-amd64-cfntools-jeos.tdl
|
||||
include heat_jeos/cfntools/cfn-init
|
||||
include heat_jeos/cfntools/cfn-hup
|
||||
include heat_jeos/cfntools/cfn-signal
|
||||
include heat_jeos/cfntools/cfn-get-metadata
|
||||
include heat_jeos/cfntools/cfn-push-stats
|
||||
|
0
heat_jeos/__init__.py
Normal file
0
heat_jeos/__init__.py
Normal file
29
pylintrc
Normal file
29
pylintrc
Normal file
@ -0,0 +1,29 @@
|
||||
[Messages Control]
|
||||
# W0511: TODOs in code comments are fine.
|
||||
# W0142: *args and **kwargs are fine.
|
||||
# W0622: Redefining id is fine.
|
||||
disable-msg=W0511,W0142,W0622
|
||||
|
||||
[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}$
|
||||
|
||||
# Method names should be at least 3 characters long
|
||||
# and be lowecased with underscores
|
||||
method-rgx=[a-z_][a-z0-9_]{2,50}$
|
||||
|
||||
# Module names matching nova-* are ok (files in bin/)
|
||||
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(nova-[a-z0-9_-]+))$
|
||||
|
||||
# Don't require docstrings on tests.
|
||||
no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
|
||||
|
||||
# Exclude variable names that conflict with debugger
|
||||
bad-names=c
|
||||
[Design]
|
||||
max-public-methods=100
|
||||
min-public-methods=0
|
||||
max-args=6
|
Loading…
Reference in New Issue
Block a user