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
Most hook versions in .pre-commit-config.yaml is quite outdated. These may be updated to the latest verions using pre-commit autoupdate.
However, it leads to formatting changes (mostly by black) to ~140 files, as per pre-commit run --all-files. This will lead to change in Git blame for all of these. While that is useful to keep track of changes and ask for help/guidance in future by newer contributors, this may be worth considering in future.
Closes#4676.
What this PR does:
1. Update hook versions.
2. Apply code formatting changes identified by `black`. (affected ~140
files)
3. Apply docstring length/style changes identified by
`flake8`+`pydocstyle`. (affected ~180 files)
Notes for reviewers:
* For the 3rd point above, used `docformatter` locally to automate few
docstring changes, and these are part of
d736b66.
* In few places where it was unable to solve the issues (mostly `D205`
and `D400`), used my own judgement to modify docstrings slightly to
avoid lint failures. These possibly biased changes are part of
ae526ad, and should be reviewed
carefully.
CTFallon
pushed a commit
to CTFallon/sktime
that referenced
this issue
Jun 21, 2023
…me#4680)
Closessktime#4676.
What this PR does:
1. Update hook versions.
2. Apply code formatting changes identified by `black`. (affected ~140
files)
3. Apply docstring length/style changes identified by
`flake8`+`pydocstyle`. (affected ~180 files)
Notes for reviewers:
* For the 3rd point above, used `docformatter` locally to automate few
docstring changes, and these are part of
d736b66.
* In few places where it was unable to solve the issues (mostly `D205`
and `D400`), used my own judgement to modify docstrings slightly to
avoid lint failures. These possibly biased changes are part of
ae526ad, and should be reviewed
carefully.
Most hook versions in .pre-commit-config.yaml is quite outdated. These may be updated to the latest verions using
pre-commit autoupdate
.However, it leads to formatting changes (mostly by
black
) to ~140 files, as perpre-commit run --all-files
. This will lead to change in Git blame for all of these. While that is useful to keep track of changes and ask for help/guidance in future by newer contributors, this may be worth considering in future.Ref. #4673 (comment)
The text was updated successfully, but these errors were encountered: