[Python-modules-commits] [behave] 02/09: import behave_1.2.5.orig.tar.bz2

Vincent Bernat bernat at moszumanska.debian.org
Tue Jun 13 06:10:27 UTC 2017


This is an automated email from the git hooks/post-receive script.

bernat pushed a commit to branch master
in repository behave.

commit 19d18b7b8dfb63b959de1b648af85d69afea47f6
Author: Vincent Bernat <vincent at bernat.im>
Date:   Tue Jun 13 06:59:33 2017 +0200

    import behave_1.2.5.orig.tar.bz2
---
 .bumpversion.cfg                                   |    6 +
 .coveragerc                                        |   42 +
 .editorconfig                                      |   26 +
 .pycheckrc                                         |  242 +++
 CHANGES.rst                                        |  393 ++++
 LICENSE                                            |   23 +
 MANIFEST.in                                        |   25 +
 PKG-INFO                                           |  130 ++
 PROJECT_INFO.rst                                   |   21 +
 README.rst                                         |  108 ++
 VERSION.txt                                        |    1 +
 behave.egg-info/PKG-INFO                           |  130 ++
 behave.egg-info/SOURCES.txt                        |  322 ++++
 behave.egg-info/dependency_links.txt               |    1 +
 behave.egg-info/entry_points.txt                   |    6 +
 behave.egg-info/requires.txt                       |    3 +
 behave.egg-info/top_level.txt                      |    2 +
 behave.egg-info/zip-safe                           |    1 +
 behave.ini                                         |   18 +
 behave/__init__.py                                 |   29 +
 behave/__main__.py                                 |  162 ++
 behave/_types.py                                   |   15 +
 behave/compat/__init__.py                          |    5 +
 behave/compat/collections.py                       |   20 +
 behave/compat/importlib.py                         |   55 +
 behave/compat/os_path.py                           |   35 +
 behave/configuration.py                            |  759 ++++++++
 behave/formatter/__filter_formatter.py             |  147 ++
 behave/formatter/__filters.py                      |   51 +
 behave/formatter/__init__.py                       |   13 +
 behave/formatter/_builtins.py                      |   38 +
 behave/formatter/_registry.py                      |  134 ++
 behave/formatter/ansi_escapes.py                   |   89 +
 behave/formatter/base.py                           |  217 +++
 behave/formatter/formatters.py                     |   56 +
 behave/formatter/json.py                           |  257 +++
 behave/formatter/null.py                           |   12 +
 behave/formatter/plain.py                          |  148 ++
 behave/formatter/pretty.py                         |  362 ++++
 behave/formatter/progress.py                       |  280 +++
 behave/formatter/rerun.py                          |  113 ++
 behave/formatter/sphinx_steps.py                   |  353 ++++
 behave/formatter/sphinx_util.py                    |  116 ++
 behave/formatter/steps.py                          |  492 +++++
 behave/formatter/tags.py                           |  189 ++
 behave/i18n.py                                     |  614 +++++++
 behave/importer.py                                 |  102 +
 behave/json_parser.py                              |  258 +++
 behave/log_capture.py                              |  233 +++
 behave/matchers.py                                 |  227 +++
 behave/model.py                                    | 1940 ++++++++++++++++++++
 behave/model_describe.py                           |  105 ++
 behave/parser.py                                   |  538 ++++++
 behave/reporter/__init__.py                        |    0
 behave/reporter/base.py                            |   42 +
 behave/reporter/junit.py                           |  321 ++++
 behave/reporter/summary.py                         |   90 +
 behave/runner.py                                   |  697 +++++++
 behave/runner_util.py                              |  406 ++++
 behave/step_registry.py                            |  109 ++
 behave/tag_expression.py                           |  111 ++
 behave/tag_matcher.py                              |  411 +++++
 behave/textutil.py                                 |   84 +
 behave/userdata.py                                 |  130 ++
 behave4cmd0/__all_steps__.py                       |   12 +
 behave4cmd0/__init__.py                            |    5 +
 behave4cmd0/__setup.py                             |   11 +
 behave4cmd0/command_shell.py                       |  150 ++
 behave4cmd0/command_steps.py                       |  429 +++++
 behave4cmd0/command_util.py                        |  117 ++
 behave4cmd0/failing_steps.py                       |   42 +
 behave4cmd0/log/__init__.py                        |    1 +
 behave4cmd0/log/steps.py                           |  395 ++++
 behave4cmd0/note_steps.py                          |   29 +
 behave4cmd0/passing_steps.py                       |   36 +
 behave4cmd0/pathutil.py                            |  116 ++
 behave4cmd0/textutil.py                            |  264 +++
 bin/behave                                         |   44 +
 bin/behave.cmd                                     |   10 +
 bin/behave.step_durations.py                       |  163 ++
 bin/behave_cmd.py                                  |   44 +
 bin/json.format.py                                 |  167 ++
 bin/jsonschema_validate.py                         |  122 ++
 bin/make_localpi.py                                |  279 +++
 bin/project_bootstrap.sh                           |   30 +
 bin/toxcmd.py                                      |  270 +++
 bin/toxcmd3.py                                     |  270 +++
 docs/Makefile                                      |  154 ++
 docs/_static/agogo.css                             |  501 +++++
 docs/_static/behave_logo.png                       |  Bin 0 -> 30898 bytes
 docs/_static/behave_logo1.png                      |  Bin 0 -> 30898 bytes
 docs/_static/behave_logo2.png                      |  Bin 0 -> 28216 bytes
 docs/_static/behave_logo3.png                      |  Bin 0 -> 20346 bytes
 docs/_themes/LICENSE                               |   45 +
 docs/_themes/kr/layout.html                        |   17 +
 docs/_themes/kr/relations.html                     |   19 +
 docs/_themes/kr/static/flasky.css_t                |  480 +++++
 docs/_themes/kr/static/small_flask.css             |   90 +
 docs/_themes/kr/theme.conf                         |    7 +
 docs/_themes/kr_small/layout.html                  |   22 +
 docs/_themes/kr_small/static/flasky.css_t          |  287 +++
 docs/_themes/kr_small/theme.conf                   |   10 +
 docs/api.rst                                       |  408 ++++
 docs/appendix.rst                                  |   19 +
 docs/behave.rst                                    |  473 +++++
 docs/behave.rst-template                           |   79 +
 docs/behave_ecosystem.rst                          |   76 +
 docs/comparison.rst                                |   85 +
 docs/conf.py                                       |  272 +++
 docs/context_attributes.rst                        |   66 +
 docs/django.rst                                    |  170 ++
 docs/formatters.rst                                |   61 +
 docs/gherkin.rst                                   |  673 +++++++
 docs/index.rst                                     |   60 +
 docs/install.rst                                   |   64 +
 docs/new_and_noteworthy.rst                        |   17 +
 docs/new_and_noteworthy_v1.2.4.rst                 |   11 +
 docs/new_and_noteworthy_v1.2.5.rst                 |  812 ++++++++
 docs/parse_builtin_types.rst                       |   59 +
 docs/philosophy.rst                                |  235 +++
 docs/regular_expressions.rst                       |   71 +
 docs/related.rst                                   |   14 +
 docs/requirements.txt                              |    1 +
 docs/test_domains.rst                              |   60 +
 docs/tutorial.rst                                  |  636 +++++++
 docs/update_behave_rst.py                          |   67 +
 etc/json/behave.json-schema                        |  170 ++
 etc/junit.xml/behave_junit.xsd                     |  103 ++
 etc/junit.xml/junit-4.xsd                          |   92 +
 features/README.txt                                |   12 +
 features/active_tags.feature                       |  248 +++
 features/background.feature                        |  392 ++++
 features/capture_stderr.feature                    |  172 ++
 features/capture_stdout.feature                    |  125 ++
 features/configuration.default_paths.feature       |  116 ++
 features/context.global_params.feature             |   35 +
 features/context.local_params.feature              |   17 +
 features/directory_layout.advanced.feature         |  147 ++
 features/directory_layout.basic.feature            |   75 +
 features/directory_layout.basic2.feature           |   87 +
 features/environment.py                            |   21 +
 features/exploratory_testing.with_table.feature    |  141 ++
 features/feature.description.feature               |    0
 features/feature.exclude_from_run.feature          |   96 +
 features/formatter.help.feature                    |   30 +
 features/formatter.json.feature                    |  417 +++++
 features/formatter.progress3.feature               |  235 +++
 features/formatter.rerun.feature                   |  296 +++
 features/formatter.steps.feature                   |  181 ++
 features/formatter.steps_catalog.feature           |  100 +
 features/formatter.steps_doc.feature               |  140 ++
 features/formatter.steps_usage.feature             |  404 ++++
 features/formatter.tags.feature                    |  134 ++
 features/formatter.tags_location.feature           |  183 ++
 features/formatter.user_defined.feature            |  196 ++
 features/i18n.unicode_problems.feature             |  429 +++++
 features/logcapture.clear_handlers.feature         |  114 ++
 features/logcapture.feature                        |  188 ++
 features/logcapture.filter.feature                 |  130 ++
 features/logging.no_capture.feature                |   99 +
 features/logging.setup_format.feature              |  157 ++
 features/logging.setup_level.feature               |  168 ++
 features/logging.setup_with_configfile.feature     |  137 ++
 features/parser.background.sad_cases.feature       |  129 ++
 features/parser.feature.sad_cases.feature          |  144 ++
 features/runner.abort_by_user.feature              |  307 ++++
 features/runner.default_format.feature             |  175 ++
 features/runner.dry_run.feature                    |  165 ++
 features/runner.feature_listfile.feature           |  224 +++
 features/runner.multiple_formatters.feature        |  285 +++
 .../runner.select_files_by_regexp.example.feature  |   71 +
 features/runner.select_files_by_regexp.feature     |   84 +
 ...unner.select_scenarios_by_file_location.feature |  375 ++++
 features/runner.select_scenarios_by_name.feature   |  231 +++
 features/runner.select_scenarios_by_tag.feature    |  222 +++
 features/runner.stop_after_failure.feature         |  122 ++
 features/runner.tag_logic.feature                  |   67 +
 features/runner.unknown_formatter.feature          |   23 +
 features/runner.use_stage_implementations.feature  |  125 ++
 features/scenario.description.feature              |  171 ++
 features/scenario.exclude_from_run.feature         |  217 +++
 features/scenario_outline.basics.feature           |  100 +
 features/scenario_outline.improved.feature         |  177 ++
 features/scenario_outline.name_annotation.feature  |  157 ++
 features/scenario_outline.parametrized.feature     |  402 ++++
 features/step.duplicated_step.feature              |  106 ++
 features/step.execute_steps.feature                |   59 +
 features/step.execute_steps.with_table.feature     |   65 +
 features/step.import_other_step_module.feature     |  103 ++
 features/step.pending_steps.feature                |  128 ++
 features/step.undefined_steps.feature              |  307 ++++
 features/step.use_step_library.feature             |   44 +
 features/step_dialect.generic_steps.feature        |  189 ++
 features/step_dialect.given_when_then.feature      |   89 +
 .../step_param.builtin_types.with_float.feature    |  239 +++
 .../step_param.builtin_types.with_integer.feature  |  305 +++
 features/steps/behave_active_tags_steps.py         |   87 +
 features/steps/behave_context_steps.py             |   67 +
 features/steps/behave_model_tag_logic_steps.py     |  105 ++
 features/steps/behave_model_util.py                |  104 ++
 features/steps/behave_select_files_steps.py        |   83 +
 features/steps/behave_tag_expression_steps.py      |  151 ++
 features/steps/behave_undefined_steps.py           |  101 +
 features/steps/use_steplib_behave4cmd.py           |   11 +
 features/summary.undefined_steps.feature           |  114 ++
 features/tag_expression.feature                    |  105 ++
 features/userdata.feature                          |  304 +++
 issue.features/README.txt                          |   17 +
 issue.features/issue0030.feature                   |   21 +
 issue.features/issue0031.feature                   |   16 +
 issue.features/issue0032.feature                   |   28 +
 issue.features/issue0035.feature                   |   74 +
 issue.features/issue0040.feature                   |  154 ++
 issue.features/issue0041.feature                   |  135 ++
 issue.features/issue0042.feature                   |  230 +++
 issue.features/issue0044.feature                   |   51 +
 issue.features/issue0046.feature                   |   77 +
 issue.features/issue0052.feature                   |   66 +
 issue.features/issue0059.feature                   |   29 +
 issue.features/issue0063.feature                   |  102 +
 issue.features/issue0064.feature                   |   97 +
 issue.features/issue0065.feature                   |   18 +
 issue.features/issue0066.feature                   |   80 +
 issue.features/issue0067.feature                   |   90 +
 issue.features/issue0069.feature                   |   64 +
 issue.features/issue0072.feature                   |   32 +
 issue.features/issue0073.feature                   |  228 +++
 issue.features/issue0075.feature                   |   18 +
 issue.features/issue0077.feature                   |   89 +
 issue.features/issue0080.feature                   |   49 +
 issue.features/issue0081.feature                   |  138 ++
 issue.features/issue0083.feature                   |   69 +
 issue.features/issue0084.feature                   |   69 +
 issue.features/issue0085.feature                   |  119 ++
 issue.features/issue0092.feature                   |   66 +
 issue.features/issue0096.feature                   |  166 ++
 issue.features/issue0099.feature                   |  130 ++
 issue.features/issue0109.feature                   |   60 +
 issue.features/issue0111.feature                   |   53 +
 issue.features/issue0112.feature                   |   64 +
 issue.features/issue0114.feature                   |  118 ++
 issue.features/issue0116.feature                   |   71 +
 issue.features/issue0125.feature                   |   53 +
 issue.features/issue0127.feature                   |   64 +
 issue.features/issue0139.feature                   |   67 +
 issue.features/issue0142.feature                   |   37 +
 issue.features/issue0143.feature                   |   54 +
 issue.features/issue0145.feature                   |   63 +
 issue.features/issue0148.feature                   |  105 ++
 issue.features/issue0152.feature                   |   52 +
 issue.features/issue0159.feature                   |   74 +
 issue.features/issue0162.feature                   |   86 +
 issue.features/issue0171.feature                   |   16 +
 issue.features/issue0172.feature                   |   51 +
 issue.features/issue0175.feature                   |   91 +
 issue.features/issue0177.feature                   |   40 +
 issue.features/issue0181.feature                   |   37 +
 issue.features/issue0184.feature                   |  144 ++
 issue.features/issue0186.feature                   |   12 +
 issue.features/issue0188.feature                   |   60 +
 issue.features/issue0191.feature                   |  178 ++
 issue.features/issue0194.feature                   |  215 +++
 issue.features/issue0216.feature                   |  129 ++
 issue.features/issue0226.feature                   |   47 +
 issue.features/issue0228.feature                   |   41 +
 issue.features/issue0230.feature                   |   46 +
 issue.features/issue0231.feature                   |   78 +
 issue.features/issue0238.feature                   |   52 +
 issue.features/issue0251.feature                   |   15 +
 issue.features/issue0280.feature                   |  118 ++
 issue.features/requirements.txt                    |   12 +
 issue.features/steps/ansi_steps.py                 |   20 +
 issue.features/steps/behave_hooks_steps.py         |   10 +
 issue.features/steps/use_steplib_behave4cmd.py     |   13 +
 .../formatter.json.validate_output.feature         |   37 +
 more.features/steps/tutorial_steps.py              |   16 +
 more.features/steps/use_steplib_behave4cmd.py      |    7 +
 more.features/tutorial.feature                     |    6 +
 pylintrc                                           |  258 +++
 requirements/README.txt                            |    5 +
 requirements/all.txt                               |   16 +
 requirements/basic.txt                             |   14 +
 requirements/develop.txt                           |   15 +
 requirements/docs.txt                              |   10 +
 requirements/json.txt                              |    7 +
 requirements/more_py26.txt                         |    7 +
 requirements/testing.txt                           |    9 +
 setup.cfg                                          |   31 +
 setup.py                                           |  103 ++
 setuptools_behave.py                               |  124 ++
 test/__init__.py                                   |    0
 test/_importer_candidate.py                        |    3 +
 test/reporters/__init__.py                         |    0
 test/reporters/test_summary.py                     |  239 +++
 test/test_ansi_escapes.py                          |   73 +
 test/test_configuration.py                         |  164 ++
 test/test_formatter.py                             |  251 +++
 test/test_formatter_progress.py                    |   39 +
 test/test_formatter_rerun.py                       |   96 +
 test/test_formatter_tags.py                        |   57 +
 test/test_importer.py                              |  151 ++
 test/test_log_capture.py                           |   29 +
 test/test_matchers.py                              |  183 ++
 test/test_model.py                                 |  809 ++++++++
 test/test_parser.py                                | 1445 +++++++++++++++
 test/test_runner.py                                |  989 ++++++++++
 test/test_step_registry.py                         |   91 +
 test/test_tag_expression.py                        |  506 +++++
 test/test_tag_expression2.py                       |  462 +++++
 test/test_tag_matcher.py                           |  727 ++++++++
 test/test_userdata.py                              |  184 ++
 tools/convert_i18n_yaml.py                         |   33 +
 tools/i18n.yml                                     |  621 +++++++
 tools/runtests.sh                                  |  136 ++
 tools/test-features/background.feature             |    9 +
 tools/test-features/environment.py                 |    8 +
 tools/test-features/french.feature                 |   11 +
 tools/test-features/outline.feature                |   39 +
 tools/test-features/parse.feature                  |   10 +
 tools/test-features/step-data.feature              |   60 +
 tools/test-features/steps/steps.py                 |  120 ++
 tools/test-features/tags.feature                   |   18 +
 tox.ini                                            |  162 ++
 323 files changed, 47176 insertions(+)

diff --git a/.bumpversion.cfg b/.bumpversion.cfg
new file mode 100644
index 0000000..d8ff3e8
--- /dev/null
+++ b/.bumpversion.cfg
@@ -0,0 +1,6 @@
+[bumpversion]
+current_version = 1.2.5
+files = behave/__init__.py setup.py VERSION.txt .bumpversion.cfg
+commit = False
+tag = False
+
diff --git a/.coveragerc b/.coveragerc
new file mode 100644
index 0000000..9560269
--- /dev/null
+++ b/.coveragerc
@@ -0,0 +1,42 @@
+# =========================================================================
+# COVERAGE CONFIGURATION FILE: .coveragerc
+# =========================================================================
+# LANGUAGE: Python
+# SEE ALSO:
+#  * http://nedbatchelder.com/code/coverage/
+#  * http://nedbatchelder.com/code/coverage/config.html
+# =========================================================================
+
+[run]
+append  = .coverage
+include = behave*
+branch  = True
+parallel = True
+
+[report]
+# Regexes for lines to exclude from consideration
+exclude_lines =
+    # Have to re-enable the standard pragma
+    pragma: no cover
+
+    # Don't complain about missing debug-only code:
+    def __repr__
+    if self\.debug
+
+    # Don't complain if tests don't hit defensive assertion code:
+    raise AssertionError
+    raise NotImplementedError
+
+    # Don't complain if non-runnable code isn't run:
+    if 0:
+    if False:
+    if __name__ == .__main__.:
+
+ignore_errors = True
+
+[html]
+directory = build/coverage.html
+
+[xml]
+outfile = build/coverage.xml
+
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..d262338
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,26 @@
+# =============================================================================
+# EDITOR CONFIGURATION: http://editorconfig.org
+# =============================================================================
+
+root = true
+
+# -- DEFAULT: Unix-style newlines with a newline ending every file.
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.{py,rst,ini,txt}]
+indent_style = space
+indent_size = 4
+
+[*.feature]
+indent_style = space
+indent_size = 2
+
+[**/makefile]
+indent_style = tab
+
+[*.{cmd,bat}]
+end_of_line = crlf
diff --git a/.pycheckrc b/.pycheckrc
new file mode 100644
index 0000000..22219fc
--- /dev/null
+++ b/.pycheckrc
@@ -0,0 +1,242 @@
+# ========================================================================================
+# PYCHECKER CONFIGURATION
+# ========================================================================================
+# .pycheckrc file created by PyChecker v0.8.18 
+# .pycheckrc file created by PyChecker v0.8.19
+#
+# It should be placed in your home directory (value of $HOME).
+# If $HOME is not set, it will look in the current directory.
+#
+# SEE ALSO:
+#  * http://pychecker.sourceforge.net/
+#  * http://sourceforge.net/projects/pychecker
+# ========================================================================================
+
+# only warn about files passed on the command line
+only = 0
+
+# the maximum number of warnings to be displayed
+limit = 100
+
+# list of evil C extensions that crash the interpreter
+evil = []
+
+# ignore import errors
+ignoreImportErrors = 0
+
+# unused imports
+importUsed = 1
+
+# unused imports from __init__.py
+packageImportUsed = 1
+
+# module imports itself
+reimportSelf = 1
+
+# reimporting a module
+moduleImportErrors = 1
+
+# module does import and from ... import
+mixImport = 1
+
+# unused local variables, except tuples
+localVariablesUsed = 1
+
+# all unused local variables, including tuples
+unusedLocalTuple = 0
+
+# all unused class data members
+membersUsed = 0
+
+# all unused module variables
+allVariablesUsed = 0
+
+# unused private module variables
+privateVariableUsed = 1
+
+# report each occurrence of global warnings
+reportAllGlobals = 0
+
+# functions called with named arguments (like keywords)
+namedArgs = 0
+
+# Attributes (members) must be defined in __init__()
+onlyCheckInitForMembers = 0
+
+# Subclass.__init__() not defined
+initDefinedInSubclass = 0
+
+# Baseclass.__init__() not called
+baseClassInitted = 1
+
+# Subclass needs to override methods that only throw exceptions
+abstractClasses = 1
+
+# Return None from __init__()
+returnNoneFromInit = 1
+
+# unreachable code
+unreachableCode = 0
+
+# a constant is used in a conditional statement
+constantConditions = 1
+
+# 1 is used in a conditional statement (if 1: or while 1:)
+constant1 = 0
+
+# check if iterating over a string
+stringIteration = 1
+
+# check improper use of string.find()
+stringFind = 1
+
+# Calling data members as functions
+callingAttribute = 0
+
+# class attribute does not exist
+classAttrExists = 1
+
+# First argument to methods
+methodArgName = 'self'
+
+# First argument to classmethods
+classmethodArgNames = ['cls', 'klass']
+
+# unused method/function arguments
+argumentsUsed = 1
+
+# unused method/function variable arguments
+varArgumentsUsed = 1
+
+# ignore if self is unused in methods
+ignoreSelfUnused = 0
+
+# check if overridden methods have the same signature
+checkOverridenMethods = 1
+
+# check if __special__ methods exist and have the correct signature
+checkSpecialMethods = 1
+
+# check if function/class/method names are reused
+redefiningFunction = 1
+
+# check if using unary positive (+) which is usually meaningless
+unaryPositive = 1
+
+# check if modify (call method) on a parameter that has a default value
+modifyDefaultValue = 1
+
+# check if variables are set to different types
+inconsistentTypes = 0
+
+# check if unpacking a non-sequence
+unpackNonSequence = 1
+
+# check if unpacking sequence with the wrong length
+unpackLength = 1
+
+# check if raising or catching bad exceptions
+badExceptions = 1
+
+# check if statement appears to have no effect
+noEffect = 1
+
+# check if using (expr % 1), it has no effect on integers and strings
+modulo1 = 1
+
+# check if using (expr is const-literal), doesn't always work on integers and strings
+isLiteral = 1
+
+# check if a constant string is passed to getattr()/setattr()
+constAttr = 1
+
+# check consistent return values
+checkReturnValues = 1
+
+# check if using implict and explicit return values
+checkImplicitReturns = 1
+
+# check that attributes of objects exist
+checkObjectAttrs = 1
+
+# various warnings about incorrect usage of __slots__
+slots = 1
+
+# using properties with classic classes
+classicProperties = 1
+
+# check if __slots__ is empty
+emptySlots = 1
+
+# check if using integer division
+intDivide = 1
+
+# check if local variable shadows a global
+shadows = 1
+
+# check if a variable shadows a builtin
+shadowBuiltins = 1
+
+# check if input() is used
+usesInput = 1
+
+# check if the exec statement is used
+usesExec = 0
+
+# ignore warnings from files under standard library
+ignoreStandardLibrary = 1
+
+# ignore warnings from the list of modules
+blacklist = ['Tkinter', 'wxPython', 'gtk', 'GTK', 'GDK']
+
+# ignore global variables not used if name is one of these values
+variablesToIgnore = ['__version__', '__warningregistry__', '__all__', '__credits__', '__test__', '__author__', '__email__', '__revision__', '__id__', '__copyright__', '__license__', '__date__']
+
+# ignore unused locals/arguments if name is one of these values
+unusedNames = ['_', 'empty', 'unused', 'dummy', 'crap']
+
+# ignore missing class attributes if name is one of these values
+missingAttrs = []
+
+# ignore use of deprecated modules/functions
+deprecated = 1
+
+# maximum lines in a function
+maxLines = 200
+
+# maximum branches in a function
+maxBranches = 50
+
+# maximum returns in a function
+maxReturns = 10
+
+# maximum # of arguments to a function
+maxArgs = 10
+
+# maximum # of locals in a function
+maxLocals = 40
+
+# maximum # of identifier references (Law of Demeter)
+maxReferences = 5
+
+# no module doc strings
+noDocModule = 0
+
+# no class doc strings
+noDocClass = 0
+
+# no function/method doc strings
+noDocFunc = 0
+
+# print internal checker parse structures
+printParse = 0
+
+# turn on debugging for checker
+debug = 0
+
+# print each class object to find one that crashes
+findEvil = 0
+
+# turn off all output except warnings
+quiet = 0
+
diff --git a/CHANGES.rst b/CHANGES.rst
new file mode 100644
index 0000000..1bdb644
--- /dev/null
+++ b/CHANGES.rst
@@ -0,0 +1,393 @@
+Version History
+===============================================================================
+
+Version: 1.2.6a1 (unreleased)
+-------------------------------------------------------------------------------
+
+GOALS:
+
+  - Improve support for Windows
+
+
+Version: 1.2.5 (2015-01-31)
+-------------------------------------------------------------------------------
+
+:Same as: Version 1.2.5a1 (unreleased).
+
+NEWS and CHANGES:
+
+  - General:
+
+    * Improve support for Python3 (py3.3, py3.4; #268)
+    * Various unicode related fixes (Unicode errors with non-ASCII, etc.)
+    * Drop support for Python 2.5
+
+  - Running:
+
+    * ScenarioOutline: Annotates name with row.id, ... to better represent row.
+    * NEW: Active Tags, see docs (`New and Noteworthy`_).
+    * NEW: Test stages, see docs (`New and Noteworthy`_).
+    * NEW: User-specific configuration data, see docs (`New and Noteworthy`_).
+    * CHANGED: Undefined step snippet uses now NotImplementedError (related to: #254)
+
+  - Model:
+
+    * ScenarioOutline: Various improvements, see docs (`New and Noteworthy`_).
+
+  - Formatters:
+
+    * plain: Can now show tags, but currently disabled per default
+    * NEW: steps.catalog: Readable summary of all steps (similar to: steps.doc, #271)
+    * NEW: User-defined formatters, see docs (`New and Noteworthy`_).
+
+ENHANCEMENTS:
+
+  * pull #285: Travis CI improvements to use container environment, etc. (provided by: thedrow)
+  * pull #272: Use option role to format command line arg docs (provided by: helenst)
+  * pull #271: Provide steps.catalog formatter (provided by: berdroid)
+  * pull #261: Support "setup.cfg" as configuration file, too (provided by: bittner)
+  * pull #260: Documentation tweaks and typo fixes (provided by: bittner)
+  * pull #254: Undefined step raises NotImplementedError instead of assert False (provided by: mhfrantz)
+  * issue #242: JUnitReporter can show scenario tags (provided by: rigomes)
+  * issue #240: Test Stages with different step implementations (provided by: attilammagyar, jenisys)
+  * issue #238: Allow to skip scenario in step function (provided by: hotgloupi, jenisys)
+  * issue #228: Exclude scenario fron run (provided by: jdeppe, jenisys)
+  * issue #227: Add a way to add command line options to behave (provided by: attilammagyar, jenisys)
+
+FIXED:
+
+  * pull  #283: Fix "fork me" image in docs (provided by: frodopwns)
+  * issue #280: Fix missing begin/end-markers in RegexMatcher (provided by: tomekwszelaki, jenisys)
+  * pull  #268: Fix py3 compatibility with all tests passed (provided by: sunliwen)
+  * pull  #252: Related to #251 (provided by: mcepl)
+  * pull  #190: UnicodeDecodeError in tracebacks (provided by: b3ni, vrutkovs, related to: #226, #230)
+  * issue #257: Fix JUnitReporter (XML) for Python3 (provided by: actionless)
+  * issue #249: Fix a number of docstring problems (provided by: masak)
+  * issue #253: Various problems in PrettyFormatter.exception()
+  * issue #251: Unicode crash in model.py (provided by: mcepl, jenisys)
+  * issue #236: Command line docs are confusing (solved by: #272)
+  * issue #230: problem with assert message that contains ascii over 128 value (provided by: jenisys)
+  * issue #226: UnicodeDecodeError in tracebacks (provided by: md1023, karulis, jenisys)
+  * issue #221: Fix some PY2/PY3 incompatibilities (provided by: johbo)
+  * pull  #219: IDE's unknown modules import issue (provided by: xbx)
+  * issue #216: Using --wip option does not disable ANSI escape sequences (coloring).
+  * issue #119: Python3 support for behave (solved by: #268 and ...)
+  * issue #82:  JUnitReporter fails with Python 3.x (fixed with: #257, #268)
+
+
+.. _`New and Noteworthy`: https://github.com/behave/behave/blob/master/docs/new_and_noteworthy.rst
+
+
+Version: 1.2.4 (2014-03-02)
+-------------------------------------------------------------------------------
+
+:Same as: Version 1.2.4a1 (unreleased).
+
+NEWS and CHANGES:
+
+  - Running:
+
+    * ABORT-BY-USER: Better handle KeyboardInterrupt to abort a test run.
+    * feature list files (formerly: feature configfiles) support wildcards.
+    * Simplify and improve setup of logging subsystem (related to: #143, #177)
+
+  - Step matchers:
+
+    * cfparse: Step matcher with "Cardinality Field" support (was: optional).
+
+  - Formatters:
+
+    * steps.usage: Avoid duplicated steps usage due to Scenario Outlines.
+    * json: Ensures now that matched step params (match args) cause valid JSON.
+
+
+IMPROVEMENT:
+
+  * issue #108: behave.main() can be called with command-line args (provided by: medwards, jenisys)
+  * issue #172: Subfolders in junit XML filenames (provided by: roignac).
+  * issue #203: Integration with pdb (debug on error; basic support)
+  * Simple test runner to run behave tests from "setup.py"
+
+FIXED:
+
+  * issue #143: Logging starts with a StreamHandler way too early (provided by: jtatum, jenisys).
+  * issue #175: Scenario isn't marked as 'failed' when Background step fails
+  * issue #177: Cannot setup logging_format
+  * issue #181: Escape apostrophes in undefined steps snippets
+  * issue #184: TypeError when running behave with --include option (provided by: s1ider).
+  * issue #186: ScenarioOutline uses wrong return value when if fails (provided by: mdavezac)
+  * issue #188: Better diagnostics if nested step is undefined
+  * issue #191: Using context.execute_steps() may change context.table/.text
+  * issue #194: Nested steps prevent that original stdout/stderr is restored
+  * issue #199: behave tag expression bug when or-not logic is used
+
+
+Version: 1.2.3 (2013-07-08)
+-------------------------------------------------------------------------------
+
+Latest stable version.
+Same as last development version.
+
+
+Version: 1.2.3a20 (2013-07-08)
+-------------------------------------------------------------------------------
+
+NEWS and CHANGES:
+
+  - Install:
+
+    * Require now parse>=1.6.2 to enforce log-bugfix #14 (was: parse>=1.6)
+
+  - Running:
+
+    * load_step_definitions: Are now sorted before loading (due to: Linux, ...).
+    * NEW: Use lazy-loading for formatters if possible (speed up self-tests by 20%).
+
+  - Model:
+
+    * location: Now a FileLocation object (was: string), required for ordering.
+
+  - Formatters:
+
+    * NEW: progress3 formatter, ScenarioStepProgressFormatter (provided by: roignac).
+    * NEW: sphinx.steps formatter, generate Sphinx-based docs for step definitions (related to #166).
+    * NEW: steps formatter, shows available step definitions.
+    * NEW: steps.doc formatter, shows documentation of step definitions (related to: #55).
+    * NEW: steps.usage formatter, shows where step definitions are used.
+    * RENAMED: json-pretty, tag_count, tag_location => json.pretty, tags, tags.location
+    * help: Shows now a better formatted list (improve readability).
+
+IMPROVEMENT:
+
+  * issue #166: behave should have a tool (or formatter) that generates Sphinx-based documentation (basics provided).
+
+FIXED:
+
+  * issue #172: JUnit report filename sometimes truncated (provided by: roignac).
+  * issue #171: Importing step from other step file fails with AmbiguousStep Error.
+  * issue #165: FIX issue #114: do not print a blank line when the feature is skipped (provided by: florentx).
+  * issue #164: StepRegistry.find_match() extends registered step_type lists.
+  * issue #122: Failing selftest feature: selftest.features/duplicated_step.feature.
+  * issue #110: Normalize paths provided at the command line (provided by: jesper).
+
+
+Version: 1.2.3a19 (2013-05-18)
+-------------------------------------------------------------------------------
+
+NEWS and CHANGES:
+
+  - Running (and model):
+
+    * NEW: Support scenario file locations on command-line, ala: "{filename}:{line}" (related to: #160).
+    * Formatters are now created only once (was: once for each feature).
+    * Scenarios can be now be selected by name or regular expression (#87).
+    * Dry-run mode: Detects now undefined steps.
+    * Dry-run mode: Uses untested counts now (was using: skipped counts).
+    * Run decision logic: Use ModelElement.mark_skipped() to preselect what not to run.
+    * Run decision logic: Use ModelElement.should_run() to decide if element should run.
+
+  - Parsing (and model):
+
+    * Parser: Add support for Scenario/ScenarioOutline descriptions (related to: #79).
+    * Parser: Refactor to simplify and avoid code duplications (related to: #79).
+    * Parser: Improve diagnostics when parse errors occur.
+    * Parser: Check that Backgrounds have no tags.
+    * NEW: json_parser, parses JSON output and builds model.
+    * json_parser: Add support for scenario descriptions (related to: #79).
+
+  - Formatters:
+
+    * INCOMPATIBLE CHANGE:
+      Formatter Ctor uses now StreamOpener instead of opened Stream.
+      Formatter output streams are now opened late, under control of the formatter.
+      This allows the formatter to support also directory mode (if needed).
+      Needed for RerunFormatter whose file was overwritten before it was read (#160).
+
+    * NEW: RerunFormatter to simplify to rerun last failing scenarios (related to: #160).
+    * NEW: TagLocationFormatter, shows where tags are used.
+    * NEW: TagCountFormatter, shows which tags are used and how often (reborn).
+    * JSONFormatter: Use JSON array mode now (related to: #161).
+    * JSONFormatter: Added "type" to Background, Scenario, ScenerioOutline (related to: #161).
+    * JSONFormatter: Added "error_message" to result (related to: #161).
+    * JSONFormatter: Use now list<lines> instead of string for multi-line text (related to: #161).
+    * JSONFormatter: Add support for scenario descriptions (related to: #79).
+    * JSONFormatter: Generates now valid JSON (well-formed).
+    * PlainFormatter: Shows now multi-line step parts (text, table), too.
+    * PrettyFormatter: Enters now monochrome mode if output is piped/redirected.
+    * ProgressFormatter: Flushes now output to provide better feedback.
+
+  - Reporters:
+
+    * JUnitReporter: Show complete scenario w/ text/tables. Improve readability.
+    * SummaryReporter: Summary shows now untested items if one or more exist.
+
+  - Testing, development:
+
+    * tox: Use tox now in off-line mode per default (use: "tox -e init"...).
+    * Add utility script to show longest step durations based on JSON data.
+    * JSON: Add basic JSON schema to support JSON output validation (related to: #161).
+    * JSON: Add helper script to validate JSON output against its schema (related to: #161).
+
+
+IMPROVEMENT:
+
+  * issue #161: JSONFormatter: Should use a slightly different output schema (provided by: jenisys)
+  * issue #160: Support rerun file with failed features/scenarios during the last test run (provided by: jenisys)
+  * issue #154: Support multiple formatters (provided by: roignac, jenisys)
+  * issue #103: sort feature file by name in a given directory (provided by: gurneyalex).
+  * issue #102: Add configuration file setting for specifying default feature paths (provided by: lrowe).
+  * issue  #87: Add --name option support (provided by: johbo, jenisys).
+  * issue  #79: Provide Support for Scenario Descriptions (provided by: caphrim007, jenisys).
+  * issue  #42: Show all undefined steps taking tags into account (provided by: roignac, jenisys)
+
+FIXED:
+
+  * issue #162 Unnecessary ContextMaskWarnings when assert fails or exception is raised (provided by: jenisys).
+  * issue #159: output stream is wrapped twice in the codecs.StreamWriter (provided by: florentx).
+  * issue #153: The runtime should not by-pass the formatter to print line breaks minor.
+  * issue #152: Fix encoding issues (provided by: devainandor)
+  * issue #145: before_feature/after_feature should not be skipped (provided by: florentx).
+  * issue #141: Don't check for full package in issue 112 (provided by: roignac).
+  * issue #125: Duplicate "Captured stdout" if substep has failed (provided by: roignac).
+  * issue  #60: JSONFormatter has several problems (last problem fixed).
+  * issue  #48: Docs aren't clear on how Background is to be used.
+  * issue  #47: Formatter processing chain is broken (solved by: #154).
+  * issue  #33: behave 1.1.0: Install fails under Windows (verified, solved already some time ago).
+  * issue  #28: Install fails on Windows (verified, solved already some time ago).
+
+
+Version: 1.2.2.18 (2013-03-20)
+-------------------------------------------------------------------------------
+
+NEWS and CHANGES:
+
+  * NullFormatter provided
+  * model.Row: Changed Ctor parameter ordering, move seldom used to the end.
+  * model.Row: Add methods .get(), .as_dict() and len operator (related to: #27).
+  * Introduce ``behave.compat`` as compatibility layer for Python versions.
+
+IMPROVEMENT:
+
+  * issue #117: context.execute_steps() should also support steps with multi-line text or table
+  * issue #116: SummaryReporter shows list of failing scenarios (provided by: roignac).
+  * issue #112: Improvement to AmbiguousStep error diagnostics
+  * issue #74:  django-behave module now available at pypi (done: 2012-10-04).
+  * issue #27:  Row should support .get() to be more dict-like
+
+FIXED:
+
+  * issue #135: Avoid leaking globals between step modules.
+  * issue #114: No blank lines when option --no-skipped is used (provided by: florentx).
+  * issue #111: Comment following @wip tag results in scenario being ignored
+  * issue  #83: behave.__main__:main() Various sys.exit issues
+  * issue  #80: source file names not properly printed with python 3.3.0
+  * issue  #62: --format=json: Background steps are missing (fixed: some time ago).
+
+RESOLVED:
+
+ * issue #98: Summary should include the names of the first X tests that failed (solved by: #116).
+
+
+Version: 1.2.2.16 (2013-02-10)
+-------------------------------------------------------------------------------
+
+NEW:
+
+  * "progress" formatter added (from jenisy-repo).
+  * Add "issue.features/" to simplify verification/validation of issues (from jenisy-repo).
+
+FIXED:
+
+  * issue #107: test/ directory gets installed into site-packages
+  * issue #99: Layout variation "a directory containing your feature files" is broken for running single features
+  * issue #96: Sub-steps failed without any error info to help debug issue
+  * issue #85: AssertionError with nested regex and pretty formatter
+  * issue #84: behave.runner behave does not reliably detected failed test runs
+  * issue #75: behave @list_of_features.txt is broken.
+  * issue #73: current_matcher is not predictable.
+  * issue #72: Using GHERKIN_COLORS caused an TypeError.
+  * issue #70: JUnitReporter: Generates invalid UTF-8 in CDATA sections (stdout/stderr output) when ANSI escapes are used.
+  * issue #69: JUnitReporter: Fault when processing ScenarioOutlines with failing steps
+  * issue #67: JSON formatter cannot serialize tables.
+  * issue #66: context.table and context.text are not cleared.
+  * issue #65: unrecognized --tag-help argument.
+  * issue #64: Exit status not set to 1 even there are failures in certain cases (related to: #52)
+  * issue #63: 'ScenarioOutline' object has no attribute 'stdout'.
+  * issue #35: "behave --format=plain --tags @one" seems to execute right scenario w/ wrong steps
+  * issue #32: "behave ... --junit-directory=xxx" fails for more than 1 level
+
+RESOLVED:
+
+  * issue #81: Allow defining steps in a separate library.
+  * issue #78: Added references to django-behave (pull-request).
+  * issue #77: Does not capture stdout from sub-processes
... 48436 lines suppressed ...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/behave.git



More information about the Python-modules-commits mailing list