Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warnings in sphinx and enforce tox to fail on warnings #184

Merged
merged 2 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions bluepyefe/ecode/DeHyperPol.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
"""
Copyright (c) 2022, EPFL/Blue Brain Project

This file is part of BluePyEfe <https://github.com/BlueBrain/BluePyEfe>
This file is part of BluePyEfe <https://github.com/BlueBrain/BluePyEfe>

This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License version 3.0 as published
by the Free Software Foundation.
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License version 3.0 as published
by the Free Software Foundation.

This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.

You should have received a copy of the GNU Lesser General Public License
along with this library; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
You should have received a copy of the GNU Lesser General Public License
along with this library; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
"""
import logging
import numpy
Expand All @@ -34,20 +34,20 @@ class DeHyperPol(Recording):
The hyperpolarizing step is usually fixed at 150% of rheobase, and the hyperpolarizing step
can usually vary from -40% to -160% of rheobase.

hypamp hypamp+amp hypamp+amp2 hypamp
: : : :
: _________________ : :
: | | : :
: | | : :
|_______________| | : ___________
^ ^ | : | ^
: : | : | :
: : | : | :
: : |____________| :
: : ^ ^ :
: : : : :
: : : : :
t=0 ton tmid toff tend
`` hypamp hypamp+amp hypamp+amp2 hypamp ``
`` : : : : ``
`` : _________________ : : ``
`` : | | : : ``
`` : | | : : ``
``|_______________| | : ___________ ``
``^ ^ | : | ^ ``
``: : | : | : ``
``: : | : | : ``
``: : |____________| : ``
``: : ^ ^ : ``
``: : : : : ``
``: : : : : ``
``t=0 ton tmid toff tend``
"""

def __init__(
Expand Down
30 changes: 15 additions & 15 deletions bluepyefe/ecode/HyperDePol.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@ class HyperDePol(Recording):
can usually vary from -40% to -160% of rheobase.


hypamp hypamp+amp hypamp+amp2 hypamp
: : : :
: : _____________________ :
: : | | :
: : | | :
: : | | :
: : | | :
: : | | :
|_______________ : | |___________
^ | : | ^ ^
: |___________________| : :
: ^ ^ : :
: : : : :
: : : : :
t=0 ton tmid toff tend
`` hypamp hypamp+amp hypamp+amp2 hypamp ``
`` : : : : ``
`` : : _____________________ : ``
`` : : | | : ``
`` : : | | : ``
`` : : | | : ``
`` : : | | : ``
`` : : | | : ``
``|_______________ : | |___________ ``
``^ | : | ^ ^ ``
``: |___________________| : : ``
``: ^ ^ : : ``
``: : : : : ``
``: : : : : ``
``t=0 ton tmid toff tend``
"""

def __init__(
Expand Down
24 changes: 12 additions & 12 deletions bluepyefe/ecode/SpikeRec.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,18 @@ class SpikeRec(Recording):

"""SpikeRec current stimulus

hypamp hypamp+amp hypamp hypamp+amp . . .
: : : :
: _________________ : _________________ _________________
: | | : | | | |
: | | : | | * len(tspike) | |
: | | : | | . . . | |
: | | : | | | |
|_______________| |__________| |__ __| |___
: : : : : ^
: : : : : :
: : : : : :
<--tspike[0]--><-spike_duration-><- delta -><-spike_duration-> . . . tend
`` hypamp hypamp+amp hypamp hypamp+amp . . . ``
`` : : : : ``
`` : _________________ : _________________ _________________ ``
`` : | | : | | | | ``
`` : | | : | | * len(tspike) | | ``
`` : | | : | | . . . | | ``
`` : | | : | | | | ``
``|_______________| |__________| |__ __| |___ ``
``: : : : : ^ ``
``: : : : : : ``
``: : : : : : ``
`` <--tspike[0]--><-spike_duration-><- delta -><-spike_duration-> . . . tend``

"""

Expand Down
38 changes: 19 additions & 19 deletions bluepyefe/ecode/negCheops.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,25 +34,25 @@ class NegCheops(Recording):
"""NegCheops current stimulus


hypamp hypamp+amp hypamp hypamp+amp hypamp hypamp+amp hypamp
: : : : : : :
: : : : : : :
|__________ : ____________ : ____________ : ____________
: :\ : /: :\ : /: :\ : /: ^
: : \ : / : : \ : / : : \ : / : :
: : \ : / : : \ : / : : \ : / : :
: : \ : / : : \ : / : : \ : / : :
: : \ : / : : \ : / : : \ : / : :
: : \ : / : : \ : / : : \ : / : :
: : \ : / : : \ : / : : \ : / : :
: : \ : / : : \ : / : : \ : / : :
: : \ : / : : \ : / : : \ : / : :
: : \ : / : : \ : / : : \ : / : :
: : \ : / : : \ : / : : \ : / : :
: : \ / : : \ / : : \ / : :
: : ' : : ' : : ' : :
: : : : : : : :
t=0 ton t1 t2 t3 t4 toff tend
`` hypamp hypamp+amp hypamp hypamp+amp hypamp hypamp+amp hypamp ``
`` : : : : : : : ``
`` : : : : : : : ``
``|__________ : ____________ : ____________ : ____________ ``
``: :\ : /: :\ : /: :\ : /: ^ ``
``: : \ : / : : \ : / : : \ : / : : ``
``: : \ : / : : \ : / : : \ : / : : ``
``: : \ : / : : \ : / : : \ : / : : ``
``: : \ : / : : \ : / : : \ : / : : ``
``: : \ : / : : \ : / : : \ : / : : ``
``: : \ : / : : \ : / : : \ : / : : ``
``: : \ : / : : \ : / : : \ : / : : ``
``: : \ : / : : \ : / : : \ : / : : ``
``: : \ : / : : \ : / : : \ : / : : ``
``: : \ : / : : \ : / : : \ : / : : ``
``: : \ / : : \ / : : \ / : : ``
``: : ' : : ' : : ' : : ``
``: : : : : : : : ``
``t=0 ton t1 t2 t3 t4 toff tend``
"""

def __init__(
Expand Down
38 changes: 19 additions & 19 deletions bluepyefe/ecode/posCheops.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,25 @@ class PosCheops(Recording):

"""PosCheops current stimulus

hypamp hypamp+amp hypamp hypamp+amp hypamp hypamp+amp hypamp
: : : : : : :
: . : . : . :
: / \ : / \ : / \ :
: / \ : / \ : / \ :
: / \ : / \ : / \ :
: / \ : / \ : / \ :
: / \ : / \ : / \ :
: / \ : / \ : / \ :
: / \ : / \ : / \ :
: / \ : / \ : / \ :
: / \ : / \ : / \ :
: / \ : / \ : / \ :
: / \ : / \ : / \ :
|__________ / \ __________ / \ __________ / \ __________
: : : : : : : ^
: : : : : : : :
: : : : : : : :
t=0 ton t1 t2 t3 t4 toff tend
`` hypamp hypamp+amp hypamp hypamp+amp hypamp hypamp+amp hypamp ``
`` : : : : : : : ``
`` : . : . : . : ``
`` : / \ : / \ : / \ : ``
`` : / \ : / \ : / \ : ``
`` : / \ : / \ : / \ : ``
`` : / \ : / \ : / \ : ``
`` : / \ : / \ : / \ : ``
`` : / \ : / \ : / \ : ``
`` : / \ : / \ : / \ : ``
`` : / \ : / \ : / \ : ``
`` : / \ : / \ : / \ : ``
`` : / \ : / \ : / \ : ``
`` : / \ : / \ : / \ : ``
``|__________ / \ __________ / \ __________ / \ __________ ``
``: : : : : : : ^ ``
``: : : : : : : : ``
``: : : : : : : : ``
``t=0 ton t1 t2 t3 t4 toff tend``
"""

def __init__(
Expand Down
Loading
Loading