Open mcocdawc opened 3 days ago
Here I would like to collect information for onboarding new developers.
https://peps.python.org/pep-0008/
Developers just need to
pip install ruff
and then execute
ruff format `git rev-parse --show-toplevel` # one can also add the --diff option to have a dry-run of how ruff would format the files.
to achieve consistent formatting and
ruff check `git rev-parse --show-toplevel`
for static code analysis.
One should eventually execute
git config --local core.hooksPath .githooks/
to enable local commit hooks, that can perform some simple sanity checks.
main
git merge
git rebase
git config pull.rebase false
git pull
QUEMB_DO_KNOWN_TO_FAIL_TESTS
QUEMB_SKIP_EXPENSIVE_TESTS
Maybe a few things about the pytest test suite?
pytest
Here I would like to collect information for onboarding new developers.
PEP8
https://peps.python.org/pep-0008/
ruff
Developers just need to
and then execute
to achieve consistent formatting and
for static code analysis.
git-hook
One should eventually execute
to enable local commit hooks, that can perform some simple sanity checks.
git merge policy
main
(also enforced by hook)main
require at least one reviewgit merge
instead ofgit rebase
; this can be set withgit config pull.rebase false
for doinggit pull
pytest
QUEMB_DO_KNOWN_TO_FAIL_TESTS
andQUEMB_SKIP_EXPENSIVE_TESTS