Skip to content

Commit 0eec50f

Browse files
Mike ProsserMike Prosser
authored andcommitted
exclude generated stubs from ni-python-styleguide and fix black issues
1 parent 05837fc commit 0eec50f

File tree

8 files changed

+8
-7
lines changed

8 files changed

+8
-7
lines changed

.github/workflows/check_nipanel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
path: .venv
4242
key: ${{ steps.restore-nipanel.outputs.cache-primary-key }}
4343
- name: Lint
44-
run: poetry run ni-python-styleguide lint
44+
run: poetry run ni-python-styleguide lint ./src/nipanel ./tests ./examples
4545
- name: Mypy static analysis (Linux)
4646
run: poetry run mypy
4747
- name: Mypy static analysis (Windows)

examples/placeholder.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Placeholder example for the package."""

src/ni/pythonpanel/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""gRPC stubs for NI PythonPanel."""
1+
"""gRPC stubs for NI PythonPanel."""

src/ni/pythonpanel/v1/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""gRPC client for PythonPanel."""
1+
"""gRPC client for PythonPanel."""

src/nipanel/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""NI Panel"""
1+
"""The NI Panel."""

tests/acceptance/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Acceptance tests for the project."""
1+
"""Acceptance tests for the project."""

tests/integration/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Integration tests for the package."""
1+
"""Integration tests for the package."""

tests/unit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Unit tests for the package."""
1+
"""Unit tests for the package."""

0 commit comments

Comments
 (0)