You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change pyproject.toml extras back to poetry dependencies (#144)
* change extras back to poetry dependencies
* remove codegen dependencies
* revert workflows
* requires = ["poetry-core>=2.1.0"]
* requires = ["poetry-core>=2.1.0,<3.0"]
* use nps instead of ni-python-styleguide
* fill out Getting Started
---------
Co-authored-by: Mike Prosser <[email protected]>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+17-4Lines changed: 17 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,19 @@ See [GitHub's official documentation](https://help.github.com/articles/using-pul
21
21
22
22
# Getting Started
23
23
24
+
To contribute to this project, it is recommended that you follow these steps:
25
+
26
+
1. Ensure you have poetry installed
27
+
1. Fork the repository on GitHub.
28
+
1. Install `nipanel` dependencies using `poetry install`
29
+
1. Run the regression tests on your system (see Testing section). At this point, if any tests fail, do not begin development. Try to investigate these failures. If you're unable to do so, report an issue through our [GitHub issues page](https://github.com/ni/nipanel-python/issues).
30
+
1. Write new tests that demonstrate your bug or feature. Ensure that these new tests fail.
31
+
1. Make your change.
32
+
1. Run all the regression tests again (including the tests you just added), and confirm that they all pass.
33
+
1. Run `poetry run nps lint` to check that the updated code follows NI's Python coding conventions. If this reports errors, first run `poetry run nps fix` in order to sort imports and format the code with Black, then manually fix any remaining errors.
34
+
1. Run `poetry run mypy` to statically type-check the updated code.
35
+
1. Send a GitHub Pull Request to the main repository's main branch. GitHub Pull Requests are the expected method of code collaboration on this project.
0 commit comments