File tree Expand file tree Collapse file tree 4 files changed +5
-8
lines changed
pyformlang/indexed_grammar/tests Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 2323 - name : Install dependencies
2424 run : |
2525 python -m pip install --upgrade pip
26- python -m pip install pytest
27- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
26+ pip install -r requirements.txt
2827
2928 - name : Lint with pylint
3029 run : |
Original file line number Diff line number Diff line change 2727 - name : Install dependencies
2828 run : |
2929 python -m pip install --upgrade pip
30- python -m pip install pytest
31- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
30+ pip install -r requirements.txt
3231
3332 - name : Lint with pylint
3433 run : |
Original file line number Diff line number Diff line change 2626 - name : Install dependencies
2727 run : |
2828 python -m pip install --upgrade pip
29- python -m pip install pytest
30- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29+ pip install -r requirements.txt
3130
3231 - name : Lint with pylint
3332 run : |
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ def test_simple_ig_5(self):
167167 assert not i_grammar .is_empty ()
168168
169169 def test_simple_ig_regular_expression (self ):
170- # Test for regular expression functions
170+ """ Test for regular expression functions """
171171
172172 l_rules = []
173173 l_rules .append (ProductionRule ("S" , "Ci" , "end" ))
@@ -236,7 +236,7 @@ def test_simple_ig8(self):
236236 assert not i_grammar .is_empty ()
237237
238238 def test_simple_ig9 (self ):
239- """ {a^n b^n c^n}"""
239+ """ {a^n b^n c^n} """
240240 l_rules = []
241241 l_rules .append (ProductionRule ("S" , "T" , "g" ))
242242 l_rules .append (ProductionRule ("T" , "T" , "f" ))
You can’t perform that action at this time.
0 commit comments