Closed turunenm closed 5 months ago
Add pre-commit hook and configuration to the repo.
Added pre-commit and ruff to _requirementstest.txt .pre-commit-config.yaml
pre-commit
ruff
ruff check
ruff format
mypy
Currently ruff check and ruff format use default settings except for line length which is set to 100 Ruff settings are configured in ruff.toml
100
Added new duty: format which autoformats files with ruff Added ruff format and ruff check to _staticanalysis.yml Github action
format
Updated CONTRIBUTING.md for pre-commit install, duty format and duty lint
duty format
duty lint
Ran ruff format and added linting ignores where needed.
Add pre-commit hook and configuration to the repo.
Added
pre-commit
andruff
to _requirementstest.txt .pre-commit-config.yamlruff check
(linting)ruff format
(autoformatting)mypy
(typing)Currently
ruff check
andruff format
use default settings except for line length which is set to100
Ruff settings are configured in ruff.tomlAdded new duty:
format
which autoformats files withruff
Addedruff format
andruff check
to _staticanalysis.yml Github actionUpdated CONTRIBUTING.md for
pre-commit
install,duty format
andduty lint
Ran
ruff format
and added linting ignores where needed.