Commit 593b2ae8 authored by Flavio TARSETTI's avatar Flavio TARSETTI
Browse files

Merge branch '276_fix_parameter_filter_crash' into 'master'

Fix parameter filter crash

Closes #276

See merge request !141
parents 1c0239b3 673a393b
Pipeline #41364 passed with stages
in 13 minutes and 14 seconds
[settings]
multi_line_output=3
include_trailing_comma=true
force_grid_wrap=0
use_parentheses=true
ensure_newline_before_comments=true
line_length=88
force_single_line=true
order_by_type=true
lines_between_types=1
......@@ -2,17 +2,16 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/timothycrosley/isort
rev: 4.3.21-2
rev: 5.0.5
hooks:
- id: isort
args: [-sl]
- repo: https://github.com/ambv/black
rev: stable
- repo: https://github.com/psf/black
rev: 19.10b0
hooks:
- id: black
language_version: python3.7
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0
rev: v3.1.0
hooks:
- id: check-ast
- id: check-case-conflict
......@@ -21,11 +20,13 @@ repos:
- id: debug-statements
- id: check-added-large-files
- id: check-docstring-first
- id: flake8
- id: check-yaml
exclude: conda/meta.yaml
- repo: https://github.com/PyCQA/flake8/
rev: 3.8.3
hooks:
- id: flake8
- repo: https://github.com/PyCQA/bandit
rev: 'master' # Update me!
rev: 1.6.2
hooks:
- id: bandit
exclude: beat/editor/test
......
......@@ -1408,7 +1408,7 @@ class ExperimentEditor(AbstractAssetEditor):
parameter_value,
) in global_parameters.items():
if (
block_parameters[parameter_name]
block_parameters.get(parameter_name)
== parameter_value
):
block_parameters.pop(parameter_name)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment