Skip to content

Commit f577575

Browse files
bradloitay
authored andcommitted
Splunk Python SDK 0.1.0 Release
0 parents  commit f577575

File tree

153 files changed

+346715
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+346715
-0
lines changed

.gitignore

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
*.pyc
2+
*.swp
3+
*.idea
4+
*.DS_Store*
5+
*coverage_html_report*
6+
.coverage.*
7+
proxypid
8+
proxy.log
9+
__stdout__
10+
.coverage
11+
MANIFEST
12+
build/*
13+
dist/*

.pylintrc

+235
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,235 @@
1+
[MASTER]
2+
3+
# Python code to execute, usually for sys.path manipulation such as
4+
# pygtk.require().
5+
#init-hook=
6+
7+
# Profiled execution.
8+
profile=no
9+
10+
# Add <file or directory> to the black list. It should be a base name, not a
11+
# path. You may set this option multiple times.
12+
ignore=CVS
13+
14+
# Pickle collected data for later comparisons.
15+
persistent=yes
16+
17+
# List of plugins (as comma separated values of python modules names) to load,
18+
# usually to register additional checkers.
19+
load-plugins=
20+
21+
22+
[MESSAGES CONTROL]
23+
24+
# Enable the message, report, category or checker with the given id(s). You can
25+
# either give multiple identifier separated by comma (,) or put this option
26+
# multiple time.
27+
#enable=
28+
29+
# Disable the message, report, category or checker with the given id(s). You
30+
# can either give multiple identifier separated by comma (,) or put this option
31+
# multiple time (only on the command line, not in the configuration file where
32+
# it should appear only once).
33+
disable=E1103,C0111,C0321,R0903,R0904,W0122,W0142,W0703
34+
35+
36+
[REPORTS]
37+
38+
# Set the output format. Available formats are text, parseable, colorized, msvs
39+
# (visual studio) and html
40+
output-format=text
41+
42+
# Include message's id in output
43+
include-ids=yes
44+
45+
# Put messages in a separate file for each module / package specified on the
46+
# command line instead of printing them on stdout. Reports (if any) will be
47+
# written in a file name "pylint_global.[txt|html]".
48+
files-output=no
49+
50+
# Tells whether to display a full report or only the messages
51+
reports=no
52+
53+
# Python expression which should return a note less than 10 (10 is the highest
54+
# note). You have access to the variables errors warning, statement which
55+
# respectively contain the number of errors / warnings messages and the total
56+
# number of statements analyzed. This is used by the global evaluation report
57+
# (RP0004).
58+
evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
59+
60+
# Add a comment according to your evaluation note. This is used by the global
61+
# evaluation report (RP0004).
62+
comment=no
63+
64+
65+
[BASIC]
66+
67+
# Required attributes for module, separated by a comma
68+
required-attributes=
69+
70+
# List of builtins function names that should not be used, separated by a comma
71+
bad-functions=map,filter,apply,input
72+
73+
# Regular expression which should only match correct module names
74+
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
75+
76+
# Regular expression which should only match correct module level names
77+
const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
78+
79+
# Regular expression which should only match correct class names
80+
class-rgx=[A-Z_][a-zA-Z0-9]+$
81+
82+
# Regular expression which should only match correct function names
83+
function-rgx=[a-z_][a-z0-9_]{2,30}$
84+
85+
# Regular expression which should only match correct method names
86+
method-rgx=[a-z_][a-z0-9_]{2,30}$
87+
88+
# Regular expression which should only match correct instance attribute names
89+
attr-rgx=[a-z_][a-z0-9_]{2,30}$
90+
91+
# Regular expression which should only match correct argument names
92+
argument-rgx=[a-z_][a-z0-9_]{2,30}$
93+
94+
# Regular expression which should only match correct variable names
95+
variable-rgx=[a-z_][a-z0-9_]{0,30}$
96+
97+
# Regular expression which should only match correct list comprehension /
98+
# generator expression variable names
99+
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
100+
101+
# Good variable names which should always be accepted, separated by a comma
102+
good-names=i,j,k,ex,Run,_
103+
104+
# Bad variable names which should always be refused, separated by a comma
105+
bad-names=foo,bar,baz,toto,tutu,tata
106+
107+
# Regular expression which should only match functions or classes name which do
108+
# not require a docstring
109+
no-docstring-rgx=__.*__
110+
111+
112+
[FORMAT]
113+
114+
# Maximum number of characters on a single line.
115+
max-line-length=80
116+
117+
# Maximum number of lines in a module
118+
max-module-lines=1000
119+
120+
# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
121+
# tab).
122+
indent-string=' '
123+
124+
125+
[MISCELLANEOUS]
126+
127+
# List of note tags to take in consideration, separated by a comma.
128+
notes=FIXME,XXX,TODO,UNDONE
129+
130+
131+
[SIMILARITIES]
132+
133+
# Minimum lines number of a similarity.
134+
min-similarity-lines=4
135+
136+
# Ignore comments when computing similarities.
137+
ignore-comments=yes
138+
139+
# Ignore docstrings when computing similarities.
140+
ignore-docstrings=yes
141+
142+
143+
[TYPECHECK]
144+
145+
# Tells whether missing members accessed in mixin class should be ignored. A
146+
# mixin class is detected if its name ends with "mixin" (case insensitive).
147+
ignore-mixin-members=yes
148+
149+
# List of classes names for which member attributes should not be checked
150+
# (useful for classes with attributes dynamically set).
151+
ignored-classes=SQLObject
152+
153+
# When zope mode is activated, add a predefined set of Zope acquired attributes
154+
# to generated-members.
155+
zope=no
156+
157+
# List of members which are set dynamically and missed by pylint inference
158+
# system, and so shouldn't trigger E0201 when accessed.
159+
generated-members=REQUEST,acl_users,aq_parent
160+
161+
162+
[VARIABLES]
163+
164+
# Tells whether we should check for unused import in __init__ files.
165+
init-import=no
166+
167+
# A regular expression matching the beginning of the name of dummy variables
168+
# (i.e. not used).
169+
dummy-variables-rgx=_|dummy
170+
171+
# List of additional names supposed to be defined in builtins. Remember that
172+
# you should avoid to define new builtins when possible.
173+
additional-builtins=
174+
175+
176+
[CLASSES]
177+
178+
# List of interface methods to ignore, separated by a comma. This is used for
179+
# instance to not check methods defines in Zope's Interface base class.
180+
ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,getTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,adaptWith,is_implemented_by
181+
182+
# List of method names used to declare (i.e. assign) instance attributes.
183+
defining-attr-methods=__init__,__new__,setUp
184+
185+
186+
[DESIGN]
187+
188+
# Maximum number of arguments for function / method
189+
max-args=5
190+
191+
# Argument names that match this expression will be ignored. Default to name
192+
# with leading underscore
193+
ignored-argument-names=_.*
194+
195+
# Maximum number of locals for function / method body
196+
max-locals=15
197+
198+
# Maximum number of return / yield for function / method body
199+
max-returns=6
200+
201+
# Maximum number of branch for function / method body
202+
max-branchs=12
203+
204+
# Maximum number of statements in function / method body
205+
max-statements=50
206+
207+
# Maximum number of parents for a class (see R0901).
208+
max-parents=7
209+
210+
# Maximum number of attributes for a class (see R0902).
211+
max-attributes=7
212+
213+
# Minimum number of public methods for a class (see R0903).
214+
min-public-methods=2
215+
216+
# Maximum number of public methods for a class (see R0904).
217+
max-public-methods=20
218+
219+
220+
[IMPORTS]
221+
222+
# Deprecated modules which should not be used, separated by a comma
223+
deprecated-modules=regsub,string,TERMIOS,Bastion,rexec
224+
225+
# Create a graph of every (i.e. internal and external) dependencies in the
226+
# given file (report RP0402 must not be disabled)
227+
import-graph=
228+
229+
# Create a graph of external dependencies in the given file (report RP0402 must
230+
# not be disabled)
231+
ext-import-graph=
232+
233+
# Create a graph of internal dependencies in the given file (report RP0402 must
234+
# not be disabled)
235+
int-import-graph=

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Splunk Python SDK Changelog
2+
3+
## v0.1.0
4+
5+
* Initial Python SDK release

0 commit comments

Comments
 (0)