Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 7, 2024
1 parent 33e87a7 commit a956c1b
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ repos:
- |
cell.attachments
cell.metadata.code_folding
cell.metadata.editable
cell.metadata.id
cell.metadata.pycharm
cell.metadata.slideshow
cell.metadata.user_expressions
metadata.celltoolbar
metadata.colab.name
Expand Down Expand Up @@ -55,6 +57,8 @@ repos:
- id: colab-toc-visible
- id: fix-nbformat-version

- id: remove-empty-tags

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.6
hooks:
Expand Down
27 changes: 21 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"editor.formatOnSave": false
},
"[git-commit]": {
"editor.rulers": [72],
"editor.rulers": [
72
],
"rewrap.wrappingColumn": 72
},
"[json]": {
Expand All @@ -21,30 +23,41 @@
"source.organizeImports": "explicit"
},
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.rulers": [88]
"editor.rulers": [
88
]
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"coverage-gutters.coverageFileNames": ["coverage.xml"],
"coverage-gutters.coverageFileNames": [
"coverage.xml"
],
"coverage-gutters.coverageReportFileName": "**/htmlcov/index.html",
"coverage-gutters.showGutterCoverage": false,
"coverage-gutters.showLineCoverage": true,
"cSpell.enabled": true,
"diffEditor.experimental.showMoves": true,
"editor.formatOnSave": true,
"files.associations": {
"**/.constraints/py*.txt": "pip-requirements"
},
"files.watcherExclude": {
"**/*_cache/**": true,
"**/.eggs/**": true,
"**/.git/**": true,
"**/.tox/**": true
},
"git.rebaseWhenSync": true,
"github-actions.workflows.pinned.workflows": [".github/workflows/ci.yml"],
"github-actions.workflows.pinned.workflows": [
".github/workflows/ci.yml"
],
"gitlens.telemetry.enabled": false,
"livePreview.defaultPreviewPath": "docs/_build/html",
"multiDiffEditor.experimental.enabled": true,
"mypy-type-checker.args": ["--config-file=${workspaceFolder}/pyproject.toml"],
"mypy-type-checker.args": [
"--config-file=${workspaceFolder}/pyproject.toml"
],
"mypy-type-checker.importStrategy": "fromEnvironment",
"myst.preview.extensions": [
"amsmath",
Expand Down Expand Up @@ -81,6 +94,8 @@
},
"telemetry.telemetryLevel": "off",
"yaml.schemas": {
"./docs/software/project-inventory-schema.json": ["docs/software/*.yml"]
"./docs/software/project-inventory-schema.json": [
"docs/software/*.yml"
]
}
}
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ split-on-trailing-comma = false
"B018",
"C90",
"D",
"E303",
"E402",
"E703",
"N806",
Expand Down

0 comments on commit a956c1b

Please sign in to comment.