Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #168

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ repos:
hooks:
- id: yamllint
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
rev: v0.9.4
hooks:
# Run the linter.
- id: ruff
Expand All @@ -48,28 +48,28 @@ repos:
- id: ruff-format
types_or: [python, jupyter]
- repo: https://github.com/kynan/nbstripout
rev: 0.7.1
rev: 0.8.1
hooks:
- id: nbstripout
args:
- --extra-keys
- metadata.kernelspec metadata.language_info.version metadata.vscode
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.17
rev: 0.7.22
hooks:
- id: mdformat
additional_dependencies: [mdformat-gfm, mdformat-gfm-alerts, mdformat-ruff]
args: [--wrap, '88']
files: (README\.md)
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.17
rev: 0.7.22
hooks:
- id: mdformat
additional_dependencies: [mdformat-myst, mdformat-ruff]
args: [--wrap, '88']
files: (docs_template/.)
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell
- repo: local
Expand Down
3 changes: 1 addition & 2 deletions src/template_project/analysis/task_analysis_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
# single formula.
formula = (
# logit functions in Python and R expect the binary outcome to be numerical
"current_smoker_numerical ~ "
"gender + marital_status + age + highest_qualification"
"current_smoker_numerical ~ gender + marital_status + age + highest_qualification"
)


Expand Down