Skip to content

Commit 9f78e71

Browse files
committed
Ran ruff on all files
1 parent bcea5a4 commit 9f78e71

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+29919
-29928
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
if: ${{ matrix.runs-on == 'macos-latest' }}
4040
run: |
4141
brew install hdf5
42-
42+
4343
- name: Build package
4444
run: |
4545
pip install .[full]

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
# All configuration values have a default; values that are commented out
1212
# serve to show the default.
1313

14-
import sys
1514
import os
15+
import sys
1616

1717
# If extensions (or modules to document with autodoc) are in another directory,
1818
# add these directories to sys.path here. If the directory is relative to the

doc/devdocs/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ Contributing
99
implementation_of_bindings
1010
meeting_june_2012
1111
nodes_segments_sections
12-

doc/devdocs/meeting_june_2012.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Mike V was asked to add a clone method to a morphology.
109109
It was decided that fraction_along should be a property of segment.
110110

111111
The syntax for segment groups should be as follows:
112-
group=morph.segment_groups['axon_group']
112+
group=morph.segment_groups['axon_group']
113113
(in connect merge groups should be false by default - throw an exception, tell the user setting merge_groups = True or rename group will fix this)
114114

115115
This was a subject of great debate and has not been completely settled.

doc/devdocs/nodes_segments_sections.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ unbranched segmentGroups, which can be used as the basis for sections in any par
5858
in them, or be ignored by any other application.
5959

6060
In libNeuroML, a section-like concept can be added at API level, to facilitate building cells, to facilitate import/export
61-
to/from simulators supporting this concept, and to serve as a basis for recompartmentalisation of cells.
61+
to/from simulators supporting this concept, and to serve as a basis for recompartmentalisation of cells.
6262

6363

6464

@@ -96,7 +96,7 @@ to the **parent** element, i.e.
9696
<parent segment="2" fractionAlong="0.5"/>
9797

9898
This is not possible in a node based format, but represents a logically consistent description of what the modeller
99-
wants.
99+
wants.
100100

101101

102102
What to do?
@@ -108,4 +108,4 @@ enforce "best practice"?
108108
PG: I'd argue for the first approach, as it retains as much as possible of what the original reconstructor/simulator specified.
109109
An API which enforces a policy when it encounters a non optimal morphology (e.g. moving all dendrites to connection points,
110110
inserting new nodes) will alter the original data in perhaps unintended ways, and that information will be lost by subsequent readers.
111-
It should be up to each parsing application to decide what to do with the extra information when it reads in a file.
111+
It should be up to each parsing application to decide what to do with the extra information when it reads in a file.

doc/helpers/nml-core-docs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
Copyright 2023 NeuroML authors
88
"""
99

10-
1110
import textwrap
1211

1312
print("Generating list of nml classes")

doc/refs.bib

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ @Article{Vella2014
2020
timestamp = {2019-02-20},
2121
year = {2014},
2222
}
23-

doc/userdocs/api.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,3 @@ You can find information on these in the pages below.
1212
writers
1313
utils
1414
arraymorph
15-
16-

doc/userdocs/arraymorph.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,3 @@
66
:members:
77
:undoc-members:
88
:show-inheritance:
9-
10-

doc/userdocs/coreclasses_list.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2216,5 +2216,3 @@ basePyNNIaFCondCell
22162216
:undoc-members:
22172217
:show-inheritance:
22182218
:inherited-members:
2219-
2220-

0 commit comments

Comments
 (0)