Skip to content

Commit 7650701

Browse files
committed
rename package to nisystemlink-examples instead of -demo
1 parent 0f51cf5 commit 7650701

File tree

8 files changed

+18
-13
lines changed

8 files changed

+18
-13
lines changed

.github/workflows/python-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ on:
44
push:
55
branches: [master, main]
66
paths:
7-
- 'nisystemlink_demo/**'
7+
- 'nisystemlink_examples/**'
88
- 'tests/**'
99
- 'pyproject.toml'
1010
- '.github/workflows/python-package.yml'
1111
pull_request:
1212
branches: [master, main]
1313
paths:
14-
- 'nisystemlink_demo/**'
14+
- 'nisystemlink_examples/**'
1515
- 'tests/**'
1616
- 'pyproject.toml'
1717
- '.github/workflows/python-package.yml'
@@ -41,7 +41,7 @@ jobs:
4141
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main')
4242
environment:
4343
name: pypi
44-
url: https://pypi.org/p/nisystemlink-demo
44+
url: https://pypi.org/p/nisystemlink-examples
4545
permissions:
4646
id-token: write
4747
contents: write

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"python.testing.pytestArgs": ["tests"],
3+
"python.testing.unittestEnabled": false,
4+
"python.testing.pytestEnabled": true
5+
}

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ poetry run poe format && poetry run poe lint && poetry run poe types && poetry r
8383
## Commit Message Convention
8484

8585
This project uses [Conventional Commits](https://www.conventionalcommits.org/)
86-
for automated versioning and changelog generation of the `nisystemlink_demo`
86+
for automated versioning and changelog generation of the `nisystemlink_examples`
8787
Python package.
8888

8989
**When conventional commits matter:**
9090

91-
- Commits to the `nisystemlink_demo/` package code
91+
- Commits to the `nisystemlink_examples/` package code
9292
- Changes to `tests/`, `pyproject.toml`, or the CI workflow
9393
- When merged to the `main` branch
9494

@@ -167,7 +167,7 @@ git commit
167167

168168
When commits following the conventional format are merged to `main` and affect:
169169

170-
- `nisystemlink_demo/**` (package source code)
170+
- `nisystemlink_examples/**` (package source code)
171171
- `tests/**` (test files)
172172
- `pyproject.toml` (package configuration)
173173
- `.github/workflows/python-package.yml` (CI/CD workflow)
File renamed without changes.
File renamed without changes.

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.poetry]
2-
name = "nisystemlink-demo"
2+
name = "nisystemlink-examples"
33
version = "0.0.0"
44
description = "NI SystemLink examples and demo utilities"
55
authors = ["National Instruments"]
@@ -11,7 +11,7 @@ readme = "README.md"
1111
keywords = ["nisystemlink", "systemlink"]
1212
license = "MIT"
1313
packages = [
14-
{include = "nisystemlink_demo"}
14+
{include = "nisystemlink_examples"}
1515
]
1616

1717
[tool.poetry.dependencies]
@@ -45,7 +45,7 @@ match = "(main|master)"
4545

4646
[tool.poe.tasks]
4747
test = "pytest tests"
48-
lint = "flake8 nisystemlink_demo tests"
49-
check = "black --check nisystemlink_demo tests"
50-
format = "black nisystemlink_demo tests"
51-
types = "mypy nisystemlink_demo tests"
48+
lint = "flake8 nisystemlink_examples tests"
49+
check = "black --check nisystemlink_examples tests"
50+
format = "black nisystemlink_examples tests"
51+
types = "mypy nisystemlink_examples tests"

tests/testdata/test_simulator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Unit tests for the Simulator class."""
22

3-
from nisystemlink_demo.testdata.simulator import Simulator
3+
from nisystemlink_examples.testdata.simulator import Simulator
44

55

66
class TestSimulator:

0 commit comments

Comments
 (0)