Skip to content

Commit b8bf460

Browse files
committed
set convention and fix some issues
1 parent 6776b10 commit b8bf460

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

RATapi/classlist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class ClassList(collections.UserList, Generic[T]):
3333
----------
3434
init_list : Sequence [T] or T, optional
3535
An instance, or list of instance(s), of the class to be used in this ClassList.
36-
``name_field`` : str, optional
36+
name_field : str, optional
3737
The field used to define unique objects in the ClassList (default is "name").
3838
3939
"""

RATapi/controls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def initialise_IPC(self):
207207
def sendStopEvent(self):
208208
"""Send the stop event via the inter-process communication file.
209209
210-
Warnings:
210+
Warnings
211211
--------
212212
UserWarning
213213
Raised if we try to delete an IPC file that was not initialised.

pyproject.toml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,16 @@ ignore = ["SIM103", # needless bool
2626
"D203", # blank line before class docstring
2727
"D213"] # multi line summary should start at second line
2828

29-
[tool.ruff.lint.flake8-pytest-style]
30-
fixture-parentheses = false
31-
mark-parentheses = false
32-
3329
# ignore docstring lints in the tests and install script
3430
[tool.ruff.lint.per-file-ignores]
3531
"tests/*" = ["D"]
3632
"setup.py" = ["D"]
33+
34+
[tool.ruff.lint.flake8-pytest-style]
35+
fixture-parentheses = false
36+
mark-parentheses = false
37+
38+
[tool.ruff.lint.pydocstyle]
39+
convention = "numpy"
40+
41+

0 commit comments

Comments
 (0)