MNT: Build examples for jupytext >= 1.3 compat

This commit is contained in:
Kernc
2019-11-28 05:13:51 +01:00
parent ccc762e4d0
commit 6c5b0c5a17
5 changed files with 10 additions and 10 deletions

View File

@@ -4,8 +4,8 @@
# text_representation:
# extension: .py
# format_name: light
# format_version: '1.3'
# jupytext_version: 1.0.2
# format_version: '1.5'
# jupytext_version: 1.3.0
# kernelspec:
# display_name: Python 3
# language: python

View File

@@ -5,8 +5,8 @@
# text_representation:
# extension: .py
# format_name: light
# format_version: '1.3'
# jupytext_version: 1.0.2
# format_version: '1.5'
# jupytext_version: 1.3.0
# kernelspec:
# display_name: Python 3
# language: python

View File

@@ -5,8 +5,8 @@
# text_representation:
# extension: .py
# format_name: light
# format_version: '1.3'
# jupytext_version: 1.0.2
# format_version: '1.5'
# jupytext_version: 1.3.0
# kernelspec:
# display_name: Python 3
# language: python
@@ -116,7 +116,7 @@ class SmaCross(Strategy):
# [`backtesting.lib.crossover()`](https://kernc.github.io/backtesting.py/doc/backtesting/lib.html#backtesting.lib.crossover)
# function instead of writing more obscure and confusing conditions, such as:
# + {"active": ""}
# + active=""
# def next(self):
# if (self.sma1[-2] < self.sma2[-2] and
# self.sma1[-1] > self.sma2[-1]):

View File

@@ -4,8 +4,8 @@
# text_representation:
# extension: .py
# format_name: light
# format_version: '1.3'
# jupytext_version: 1.0.2
# format_version: '1.5'
# jupytext_version: 1.3.0
# kernelspec:
# display_name: Python 3
# language: python

View File

@@ -38,7 +38,7 @@ if __name__ == '__main__':
extras_require={
'doc': [
'pdoc3',
'jupytext >= 1.0.2',
'jupytext >= 1.3',
'nbconvert',
'ipykernel', # for nbconvert
'jupyter_client', # for nbconvert