Skip to content

Commit 2556da4

Browse files
committed
style
1 parent be474b3 commit 2556da4

15 files changed

+10
-21
lines changed

_doc/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from sphinx_runpython.github_link import make_linkcode_resolve
55
from teachpyx import __version__
66

7-
87
extensions = [
98
"nbsphinx",
109
"sphinx.ext.autodoc",

_doc/examples/prog/plot_einstein_riddle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@
8787
On commence par la fonction `permutation`:
8888
qui énumère les permutations d'un ensemble :
8989
"""
90+
9091
import copy
9192
from io import StringIO
9293
import pandas
9394

94-
9595
##########################
9696
# Fonction permutation
9797
# ====================

_doc/examples/prog/plot_float_and_double_rouding.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import pandas
2121
import matplotlib.pyplot as plt
2222

23-
2423
rnd = numpy.random.random(100000000)
2524
rnd.shape, rnd.dtype
2625

_doc/examples/prog/plot_gil_example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
On mesure le temps nécessaire pour créer deux liste et comparer ce
1818
temps avec celui que cela prendrait en parallèle.
1919
"""
20+
2021
import timeit
2122
import time
2223
from concurrent.futures import ThreadPoolExecutor

_doc/examples/prog/plot_numpy_tricks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
accéder à un élément en particulier
1010
===================================
1111
"""
12+
1213
import timeit
1314

1415
import numpy

_doc/examples/prog/plot_pandas_groupby.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@
1414
============================
1515
"""
1616

17-
1817
import pandas
1918

20-
2119
data = [{"a": 1, "b": 2}, {"a": 10, "b": 20}, {"b": 3}, {"b": 4}]
2220
df = pandas.DataFrame(data)
2321
df

_doc/examples/prog/plot_serialisation_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
Ecriture (json)
1818
+++++++++++++++
1919
"""
20+
2021
from io import StringIO, BytesIO
2122
import timeit
2223
import json
@@ -25,7 +26,6 @@
2526
import cloudpickle
2627
import pickle
2728

28-
2929
data = {
3030
"records": [
3131
{

_doc/examples/prog/plot_serialisation_protobuf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
On récupère l'exemple du `tutorial
2626
<https://developers.google.com/protocol-buffers/docs/pythontutorial>`_.
2727
"""
28+
2829
import os
2930
import sys
3031
import timeit

_doc/examples/prog/plot_tarabiscote.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
listes contenues dans ``ens``. Le résultat retourné est effectivement
1717
celui désiré mais la fonction modifie également la liste ``ens``, pourquoi ?
1818
"""
19+
1920
import math
2021
import copy
2122
import numpy

_doc/practice/py-base/scrapping.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,6 @@
380380
"import shutil\n",
381381
"import requests\n",
382382
"\n",
383-
"\n",
384383
"for e, pokemon in enumerate(liste_pokemon):\n",
385384
" print(e, pokemon)\n",
386385
" url = \"https://img.pokemondb.net/artwork/{}.jpg\".format(pokemon)\n",

0 commit comments

Comments
 (0)