Replace yapf, isort and flake8 with much faster ruff formatter. Remove
conflicting rule and switch to double quotes for strings.
Install:
pip install ."[dev]"
pre-commit install
Run pre-commit hooks:
pre-commit run -a
Related #2295
* Show pytest coverage in GitHub CI tests
Related #1097
* Extend Makefile with installation and test targets
Refactor setup steps to unify commands between Linux and macOS.
Move bash commands into Makefile for consistency and enable local
execution of GitHub CI commands corresponding Makefile targets.
Install on Ubuntu:
make install_ubuntu
Install on Ubuntu for development:
make install_ubuntu PIP_ARGS=."[test]"
Fixes#2303
* Improve name of GitHub test actions
Related #2303
* Upgrade GitHub actions to Node.js 20
Replaces deprecated Node.js 16 actions.
Related #2256, #2284
* Show pytest coverage in GitHub CI tests
Related #1097
* Extend Makefile with installation and test targets
Refactor setup steps to unify commands between Linux and macOS.
Move bash commands into Makefile for consistency and enable local
execution of GitHub CI commands corresponding Makefile targets.
Install on Ubuntu:
make install_ubuntu
Install on Ubuntu for development:
make install_ubuntu PIP_ARGS=."[test]"
Fixes#2303
* Improve name of GitHub test actions
Related #2303
ui: move imports in about.py to top of file
ui: move imports to top of notify.py
ui: move imports to top of window.py
ui: reorder imports at beginning of __init__.py
ui: move imports to top of tray.py
ui: move common code out of __init__.py to common.py
ui: move imports to top of __init___.py
device: move some imports to top of modules
device: break up imports loop with device descriptors
device: break up imports loop by moving a function from notifications.py to setting_templates.py
device: break import loop between device.py and diversion.py by using device to access method
* Simplify installation of udev rules
Fixes#2263
* udev: Shorten udev installation description
Related #2263
* udev: Shorten udev installation description
Related #2263
* udev: Update installation of udev rules
Related #2263
* Update docs/installation.md
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com>
* Update Makefile
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com>
* Update Makefile
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com>
* Update docs/installation.md
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com>
* Update docs/installation.md
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com>
* Update docs/installation.md
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com>
---------
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com>