Skip to content

Commit ca5080b

Browse files
authored
Update to ni-python-styleguide 0.4.0 (#223)
* Upgrade to ni-python-styleguide 0.4.0 Signed-off-by: Joel Dixon <joel.dixon@ni.com> * Lint the code Signed-off-by: Joel Dixon <joel.dixon@ni.com> * Fix D417 errors Signed-off-by: Joel Dixon <joel.dixon@ni.com> --------- Signed-off-by: Joel Dixon <joel.dixon@ni.com>
1 parent febcabd commit ca5080b

23 files changed

Lines changed: 441 additions & 345 deletions

File tree

examples/nidcpower_source_dc_voltage/_helpers.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ def update_pin_map(self, pin_map_id: str) -> None:
5555
found.
5656
5757
Args:
58-
----
5958
pin_map_id (str): The resource id of the pin map to register as a pin map resource. By
6059
convention, the pin map id is the .pinmap file path.
6160
@@ -100,7 +99,6 @@ def get_grpc_device_channel(self, provided_interface: str) -> grpc.Channel:
10099
"""Return gRPC channel to specified NI gRPC Device service.
101100
102101
Args:
103-
----
104102
provided_interface (str): The gRPC Full Name of the service.
105103
106104
"""

examples/nidcpower_source_dc_voltage/teststand_fixture.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ def update_pin_map(pin_map_id: str):
1212
Create and register a pin map if a pin map resource for the specified pin map id is not found.
1313
1414
Args:
15-
----
16-
pin_map_id (str): The resource id of the pin map to register as a pin map resource. By
15+
pin_map_id (str):
16+
The resource id of the pin map to register as a pin map resource. By
1717
convention, the pin_map_id is the .pinmap file path.
1818
1919
"""

examples/nidmm_measurement/_helpers.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ def update_pin_map(self, pin_map_id: str) -> None:
5555
found.
5656
5757
Args:
58-
----
5958
pin_map_id (str): The resource id of the pin map to register as a pin map resource. By
6059
convention, the pin map id is the .pinmap file path.
6160
@@ -100,7 +99,6 @@ def get_grpc_device_channel(self, provided_interface: str) -> grpc.Channel:
10099
"""Return gRPC channel to specified NI gRPC Device service.
101100
102101
Args:
103-
----
104102
provided_interface (str): The gRPC Full Name of the service.
105103
106104
"""

examples/nidmm_measurement/teststand_fixture.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ def update_pin_map(pin_map_id: str):
1212
Create and register a pin map if a pin map resource for the specified pin map id is not found.
1313
1414
Args:
15-
----
1615
pin_map_id (str): The resource id of the pin map to register as a pin map resource. By
1716
convention, the pin_map_id is the .pinmap file path.
1817

examples/nifgen_standard_function/_helpers.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ def update_pin_map(self, pin_map_id: str) -> None:
5555
found.
5656
5757
Args:
58-
----
5958
pin_map_id (str): The resource id of the pin map to register as a pin map resource. By
6059
convention, the pin map id is the .pinmap file path.
6160
@@ -100,7 +99,6 @@ def get_grpc_device_channel(self, provided_interface: str) -> grpc.Channel:
10099
"""Return gRPC channel to specified NI gRPC Device service.
101100
102101
Args:
103-
----
104102
provided_interface (str): The gRPC Full Name of the service.
105103
106104
"""

examples/nifgen_standard_function/teststand_fixture.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ def update_pin_map(pin_map_id: str):
1212
Create and register a pin map if a pin map resource for the specified pin map id is not found.
1313
1414
Args:
15-
----
1615
pin_map_id (str): The resource id of the pin map to register as a pin map resource. By
1716
convention, the pin_map_id is the .pinmap file path.
1817

examples/niscope_acquire_waveform/_helpers.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ def update_pin_map(self, pin_map_id: str) -> None:
5555
found.
5656
5757
Args:
58-
----
5958
pin_map_id (str): The resource id of the pin map to register as a pin map resource. By
6059
convention, the pin map id is the .pinmap file path.
6160
@@ -100,7 +99,6 @@ def get_grpc_device_channel(self, provided_interface: str) -> grpc.Channel:
10099
"""Return gRPC channel to specified NI gRPC Device service.
101100
102101
Args:
103-
----
104102
provided_interface (str): The gRPC Full Name of the service.
105103
106104
"""

examples/niscope_acquire_waveform/teststand_fixture.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ def update_pin_map(pin_map_id: str):
1212
Create and register a pin map if a pin map resource for the specified pin map id is not found.
1313
1414
Args:
15-
----
1615
pin_map_id (str): The resource id of the pin map to register as a pin map resource. By
1716
convention, the pin_map_id is the .pinmap file path.
1817

examples/niswitch_control_relays/_helpers.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ def update_pin_map(self, pin_map_id: str) -> None:
5555
found.
5656
5757
Args:
58-
----
5958
pin_map_id (str): The resource id of the pin map to register as a pin map resource. By
6059
convention, the pin map id is the .pinmap file path.
6160
@@ -100,7 +99,6 @@ def get_grpc_device_channel(self, provided_interface: str) -> grpc.Channel:
10099
"""Return gRPC channel to specified NI gRPC Device service.
101100
102101
Args:
103-
----
104102
provided_interface (str): The gRPC Full Name of the service.
105103
106104
"""

examples/niswitch_control_relays/teststand_fixture.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ def update_pin_map(pin_map_id: str):
1212
Create and register a pin map if a pin map resource for the specified pin map id is not found.
1313
1414
Args:
15-
----
1615
pin_map_id (str): The resource id of the pin map to register as a pin map resource. By
1716
convention, the pin_map_id is the .pinmap file path.
1817

0 commit comments

Comments
 (0)