-
-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
558: docs: add documentation for the default baud_rate and how to change it r=MatthieuDartiailh a=hkennyv added blurb to communication.rst and updated docstring for resources.serial.SerialInstrument <!-- Thanks for wanting to contribute to PyVISA :) Here's some guidelines to help the review process go smoothly. 1. Please write a description in this text box of the changes that are being made. 2. Please ensure that the code is properly formatted and typed by running black, isort, flake8 and mypy. You can also use pre-commit hooks (see the developer documentation for detailed instructions) 3. Please ensure that you have written units tests for the changes made/features added. 4. If you are closing an issue please use one of the automatic closing words as noted here: https://help.github.com/articles/closing-issues-using-keywords/ 5. Once review has taken place please do not add features or make changes out of the scope of those requested by the reviewer (doing this just add delays as already reviewed code ends up having to be re-reviewed/it is hard to tell what is new etc!). Many thanks in advance for your cooperation! --> - [x] Closes #556 - [x] Executed ``black . && isort -c . && flake8`` with no errors (i executed this, and there are some errors in files unrelated to this PR) output: ``` (venv) khuynh@kmac:github/pyvisa ‹docs/default-baud-rate›$ black . && isort -c . && flake8 All done! ✨ 🍰 ✨ 55 files left unchanged. ERROR: /Users/khuynh/me/develop/github/pyvisa/visa.py Imports are incorrectly sorted and/or formatted. ERROR: /Users/khuynh/me/develop/github/pyvisa/examples/itc4.py Imports are incorrectly sorted and/or formatted. ERROR: /Users/khuynh/me/develop/github/pyvisa/examples/keithley2000.py Imports are incorrectly sorted and/or formatted. Skipped 2 files (venv) khuynh@kmac:github/pyvisa ‹docs/default-baud-rate›$ flake8 ./examples/keithley2000.py:40:64: F821 undefined name 'VI_INTF_GPIB' ``` - [x] The change is fully covered by automated unit tests - [x] Documented in docs/ as appropriate - [x] Added an entry to the CHANGES file Co-authored-by: Kenny Huynh <hkennyv@gmail.com>
- Loading branch information
Showing
4 changed files
with
37 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters