22 Star 91 Fork 16

TensorLayer / tensorlayer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup.travis.cfg 3.43 KB
一键复制 编辑 原始数据 按行查看 历史
ChengLai 提交于 2021-10-29 16:29 . Update TensorLayer (#1148)
[tool:pytest]
testpaths = tests/
addopts = --ignore=tests/test_documentation.py
--ignore=tests/test_yapf_format.py
--ignore=tests/pending/test_decorators.py
--ignore=tests/pending/test_documentation.py
--ignore=tests/pending/test_logging.py
--ignore=tests/pending/test_pydocstyle.py
--ignore=tests/pending/test_layers_padding.py
--ignore=tests/pending/test_timeout.py
--ignore=tests/pending/test_layers_super_resolution.py
--ignore=tests/pending/test_reuse_mlp.py
--ignore=tests/pending/test_layers_importer.py
--ignore=tests/pending/test_layers_time_distributed.py
--ignore=tests/pending/test_layers_spatial_transformer.py
--ignore=tests/pending/test_layers_stack.py
--ignore=tests/pending/test_mnist_simple.py
--ignore=tests/pending/test_tf_layers.py
--ignore=tests/pending/test_array_ops.py
--ignore=tests/pending/test_layers_basic.py
--ignore=tests/pending/test_models.py
--ignore=tests/pending/test_optimizer_amsgrad.py
--ignore=tests/pending/test_logging_hyperdash.py
--ignore=tests/pending/test_yapf_format.py
--ignore=tests/pending/test_layers_normalization.py
--ignore=tests/pending/test_utils_predict.py
--ignore=tests/pending/test_layers_flow_control.py
--ignore=tests/performance_test/vgg/tl2-autograph.py
--ignore=tests/performance_test/vgg/tf2-eager.py
--ignore=tests/performance_test/vgg/exp_config.py
--ignore=tests/performance_test/vgg/tl2-eager.py
--ignore=tests/performance_test/vgg/tf2-autograph.py
--ignore=tests/performance_test/vgg/keras_test.py
--ignore=tests/performance_test/vgg/pytorch_test.py
[flake8]
max-line-length = 120
ignore =
D301
E221 # Space before equal sign
E251 # Space after equal sign
exclude =
.git,
venv,
__pycache__,
.pytest_cache,
tensorlayer.egg-info,
build,
dist,
img
[yapf]
based_on_style=google
# The number of columns to use for indentation.
indent_width = 4
# The column limit.
column_limit=120
# Place each dictionary entry onto its own line.
each_dict_entry_on_separate_line = True
# Put closing brackets on a separate line, dedented, if the bracketed
dedent_closing_brackets=True
# Do not split consecutive brackets. Only relevant when DEDENT_CLOSING_BRACKETS is set
coalesce_brackets = False
# Align closing bracket with visual indentation.
align_closing_bracket_with_visual_indent = False
# Split named assignments onto individual lines.
split_before_named_assigns = False
# If an argument / parameter list is going to be split, then split before the first argument.
split_before_first_argument = True
# Split before arguments if the argument list is terminated by a comma.
split_arguments_when_comma_terminated = False
# Insert a space between the ending comma and closing bracket of a list, etc.
space_between_ending_comma_and_closing_bracket = True
# Join short lines into one line. E.g., single line if statements.
join_multiple_lines = True
# Do not include spaces around selected binary operators.
# Example: 1 + 2 * 3 - 4 / 5 => 1 + 2*3 - 4/5
no_spaces_around_selected_binary_operators = True
# Allow lambdas to be formatted on more than one line.
allow_multiline_lambdas = True
SPLIT_PENALTY_FOR_ADDED_LINE_SPLIT = 10
SPLIT_PENALTY_AFTER_OPENING_BRACKET = 500
Python
1
https://gitee.com/TensorLayer/tensorlayer.git
git@gitee.com:TensorLayer/tensorlayer.git
TensorLayer
tensorlayer
tensorlayer
master

搜索帮助