Skip to content

Commit

Permalink
Assign property Use indentation-aware for language Python vatlab/jupy…
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo Peng committed Aug 3, 2019
1 parent 00b5496 commit a57a0e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sos_python/kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ class sos_Python:
background_color = {'Python2': '#FFF177', 'Python3': '#FFD91A'}
options = {
'variable_pattern': r'^\s*[_A-Za-z0-9\.]+\s*$',
'assignment_pattern': r'^\s*([_A-Za-z0-9\.]+)\s*=.*$'
'assignment_pattern': r'^\s*([_A-Za-z0-9\.]+)\s*=.*$',
'indentation_aware': True
}
cd_command = 'import os;os.chdir({dir!r})'

Expand Down

0 comments on commit a57a0e6

Please sign in to comment.