pylint fixes

This commit is contained in:
Marcell Vazquez-Chanlatte 2017-10-15 01:11:49 -07:00
parent 8dbfc83083
commit d5985406ad
3 changed files with 6 additions and 5 deletions

View file

@ -21,7 +21,7 @@ def build_lineq(params):
LinEqStrategy = st.builds(
lambda x: stl.ast.Lineq(*x),
lambda x: stl.ast.LinEq(*x),
st.tuples(
st.lists(
st.tuples(
@ -35,7 +35,7 @@ LinEqStrategy = st.builds(
class SignalTemporalLogicStategy(SearchStrategy):
def __init__(self, max_length: int):
super(SearchStrategy, self).__init__()
super().__init__()
self.cfg_gen = ContextFreeGrammarStrategy(
GRAMMAR, max_length=max_length, start='phi')
self.ap_gen = st.builds(