Skip to content

Commit 47d609a

Browse files
updates after running ruff and pyright
1 parent 05f9a1d commit 47d609a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ stubPath = "stubs"
127127
include = [
128128
"src",
129129
"tests",
130-
"demos",
131130
]
132131
exclude = [
133132
"src/folder_to_be_excluded",

src/trafficgen/marine_system_simulator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""
2-
The Marine Systems Simulator (MSS) is a Matlab and Simulink library for marine systems,
2+
The Marine Systems Simulator (MSS) is a Matlab and Simulink library for marine systems.
3+
34
publicly available at https://github.com/cybergalactic/MSS
45
56
It includes models for ships, underwater vehicles, unmanned surface vehicles, and floating structures.

src/trafficgen/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def _missing_(cls: type[Self], value: object) -> Self | None:
6464
# Handle numeric values
6565
if isinstance(value, int):
6666
for member in cls:
67-
if member.num_value == value: # type: ignore[PGH003]
67+
if member.num_value == value:
6868
return member
6969
return None
7070

0 commit comments

Comments
 (0)